From 7d7d82921b09d64366720704d72205cad326ec95 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Mon, 14 Apr 2008 08:18:36 +0000 Subject: [PATCH] - Update to new-doc-style - The "params" argument is available as of 5.3 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@257435 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../functions/stream-context-create.xml | 100 +++++++++++++----- 1 file changed, 72 insertions(+), 28 deletions(-) diff --git a/reference/stream/functions/stream-context-create.xml b/reference/stream/functions/stream-context-create.xml index 5df3079bce..fddb739480 100644 --- a/reference/stream/functions/stream-context-create.xml +++ b/reference/stream/functions/stream-context-create.xml @@ -1,39 +1,80 @@ - + stream_context_create Create a streams context - - Description + + &reftitle.description; resourcestream_context_create arrayoptions arrayparams - + Creates and returns a stream context with any options supplied in options preset. - - - options must be an associative - array of associative arrays in the format - $arr['wrapper']['option'] = $value. - It defaults to an empty array. - - - params must be an associative array - in the format $arr['parameter'] = $value. - Refer to stream_context_set_params for - a listing of standard stream parameters. - - - - The params argument - was added to PHP 6.0.0. - - + + + + + &reftitle.parameters; + + + + options + + + Must be an associative array of associative arrays in the format + $arr['wrapper']['option'] = $value. + + + Default to an empty array. + + + + + params + + + Must be an associative array in the format + $arr['parameter'] = $value. + Refer to stream_context_set_params for + a listing of standard stream parameters. + + + + + + + + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + 5.3.0 + + Added the optional params argument. + + + + + + + + + + &reftitle.examples; Using <function>stream_context_create</function> @@ -58,11 +99,14 @@ fclose($fp); ]]> - - See also - stream_context_set_option, and - Listing of supported wrappers with context options (). - + + + + &reftitle.seealso; + + stream_context_set_option + Listing of supported wrappers with context options (). +