file_uri_scheme

function file_uri_scheme

file_uri_scheme($uri)

Returns the scheme of a URI (e.g. a stream).

Deprecated

in Drupal 8.0.x-dev, will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystem::uriScheme().

Related topics

File interface
Common file handling functions.

File

core/