cvs: phpdoc /en/reference/stream/functions stream-wrapper-register.xml

From: Date: Mon, 16 Jun 2003 19:41:19 +0000
Subject: cvs: phpdoc /en/reference/stream/functions stream-wrapper-register.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969354523@lists.php.net to get a copy of this message
pollita Mon Jun 16 15:41:19 2003 EDT Modified files: /phpdoc/en/reference/stream/functions stream-wrapper-register.xml Log: Add note per context property addition. Index: phpdoc/en/reference/stream/functions/stream-wrapper-register.xml diff -u phpdoc/en/reference/stream/functions/stream-wrapper-register.xml:1.1 phpdoc/en/reference/stream/functions/stream-wrapper-register.xml:1.2 --- phpdoc/en/reference/stream/functions/stream-wrapper-register.xml:1.1 Mon May 19 13:30:43 2003 +++ phpdoc/en/reference/stream/functions/stream-wrapper-register.xml Mon Jun 16 15:41:19 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.1 $ --> +<!-- $Revision: 1.2 $ --> <refentry id="function.stream-wrapper-register"> <refnamediv> <refname>stream_wrapper_register</refname> @@ -26,6 +26,17 @@ exactly as described below - doing otherwise will lead to undefined behaviour. </para> + <note> + <simpara> + As of <literal>PHP 5.0.0</literal> the instance of + <parameter>classname</parameter> will be populated with a + <parameter>context</parameter> property referencing a + <literal>Context Resource</literal> which may be accessed + with <function>stream_context_get_options</function>. + If no context was passed to the stream creation function, + <parameter>context</parameter> will be set to &null;. + </simpara> + </note> <para> <function>stream_wrapper_register</function> will return &false; if the <parameter>protocol</parameter> already has a handler.

« previous php.doc (#969354523) next »