cvs: phpdoc /en/reference/stream/functions stream-context-create.xml

From: Date: Mon, 27 Mar 2006 21:36:59 +0000
Subject: cvs: phpdoc /en/reference/stream/functions stream-context-create.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969372499@lists.php.net to get a copy of this message
pollita Mon Mar 27 21:36:59 2006 UTC Modified files: /phpdoc/en/reference/stream/functions stream-context-create.xml Log: Document second arg to stream_context_create() http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/stream/functions/stream-context-create.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc/en/reference/stream/functions/stream-context-create.xml diff -u phpdoc/en/reference/stream/functions/stream-context-create.xml:1.4 phpdoc/en/reference/stream/functions/stream-context-create.xml:1.5 --- phpdoc/en/reference/stream/functions/stream-context-create.xml:1.4 Thu Aug 12 18:11:59 2004 +++ phpdoc/en/reference/stream/functions/stream-context-create.xml Mon Mar 27 21:36:58 2006 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.4 $ --> +<!-- $Revision: 1.5 $ --> <refentry id="function.stream-context-create"> <refnamediv> <refname>stream_context_create</refname> @@ -10,6 +10,7 @@ <methodsynopsis> <type>resource</type><methodname>stream_context_create</methodname> <methodparam choice="opt"><type>array</type><parameter>options</parameter></methodparam> + <methodparam choice="opt"><type>array</type><parameter>params</parameter></methodparam> </methodsynopsis> <simpara> Creates and returns a stream context with any options supplied in @@ -21,6 +22,18 @@ <literal>$arr['wrapper']['option'] = $value</literal>. It defaults to an empty array. </simpara> + <simpara> + <parameter>params</parameter> must be an associative array + in the format <literal>$arr['parameter'] = $value</literal>. + Refer to <function>stream_context_set_params</function> for + a listing of standard stream parameters. + </simpara> + <note> + <simpara> + The <parameter>params</parameter> argument + was added to <literal>PHP 6.0.0</literal>. + </simpara> + </note> <example> <title>Using <function>stream_context_create</function></title> <programlisting role="php">

« previous php.doc (#969372499) next »