nlopess Sun Feb 19 13:01:25 2006 UTC
Modified files:
/phpdoc/en/reference/url/functions get-headers.xml
Log:
since php 5.1.3 this uses the default context
http://cvs.php.net/viewcvs.cgi/phpdoc/en/reference/url/functions/get-headers.xml?r1=1.6&r2=1.7&diff_format=u
Index: phpdoc/en/reference/url/functions/get-headers.xml
diff -u phpdoc/en/reference/url/functions/get-headers.xml:1.6
phpdoc/en/reference/url/functions/get-headers.xml:1.7
--- phpdoc/en/reference/url/functions/get-headers.xml:1.6 Wed Jul 6
07:41:30 2005
+++ phpdoc/en/reference/url/functions/get-headers.xml Sun Feb 19 13:01:25 2006
@@ -1,5 +1,5 @@
<?xml version='1.0' encoding='iso-8859-1'?>
-<!-- $Revision: 1.6 $ -->
+<!-- $Revision: 1.7 $ -->
<refentry id="function.get-headers">
<refnamediv>
<refname>get_headers</refname>
@@ -24,6 +24,13 @@
<function>get_headers</function> parses the response and sets the array's
keys.
</para>
+ <note>
+ <para>
+ Since PHP 5.1.3 this function uses the default stream context, which can
+ be set/changed with the <function>stream_context_get_default</function>
+ function.
+ </para>
+ </note>
<para>
<example>
<title><function>get_headers</function> example</title>