array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'class.streamwrapper.php', 1 => 'streamWrapper', ), 'up' => array ( 0 => 'book.stream.php', 1 => 'Streams', ), 'prev' => array ( 0 => 'php-user-filter.oncreate.php', 1 => 'php_user_filter::onCreate', ), 'next' => array ( 0 => 'streamwrapper.construct.php', 1 => 'streamWrapper::__construct', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/stream/streamwrapper.xml', ), 'extra_header_links' => array ( 'rel' => 'alternate', 'href' => '/manual/en/feeds/class.streamwrapper.atom', 'type' => 'application/atom+xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.3.2, PHP 5, PHP 7, PHP 8)
Allows you to implement your own protocol handlers and streams for use with all the other filesystem functions (such as fopen(), fread() etc.).
Hinweis:
This is NOT a real class, only a prototype of how a class defining its own protocol should be.
Hinweis:
Implementing the methods in other ways than described here can lead to undefined behaviour.
An instance of this class is initialized as soon as a stream function tries to access the protocol it is associated with.
The current context, or null
if no
context was passed to the caller function.
Use the stream_context_get_options() to parse the context.
Hinweis:
This property must be public so PHP can populate it with the actual context resource.