svn: /phpdoc/en/trunk/reference/stream/functions/ stream-context-get-options.xml
| From: | Maciek Sokolewicz | Date: | Fri, 08 May 2015 21:12:05 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/stream/functions/ stream-context-get-options.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13280@lists.php.net to get a copy of this message | ||
tularis Fri, 08 May 2015 21:12:05 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=336740
Log:
Fixed broken example code (patch by Hannes van de Vreken)
Changed paths:
U phpdoc/en/trunk/reference/stream/functions/stream-context-get-options.xml
Modified: phpdoc/en/trunk/reference/stream/functions/stream-context-get-options.xml
===================================================================
--- phpdoc/en/trunk/reference/stream/functions/stream-context-get-options.xml 2015-05-08 21:08:43
UTC (rev 336739)
+++ phpdoc/en/trunk/reference/stream/functions/stream-context-get-options.xml 2015-05-08 21:12:05
UTC (rev 336740)
@@ -50,7 +50,7 @@
<?php
$params = array("method" => "POST");
-stream_context_get_default(array("http" => $params));
+stream_context_set_default(array("http" => $params));
var_dump(stream_context_get_options(stream_context_get_default()));