create entity for context support in PHP 5; add to fopen

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155955 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kenneth Schwartz 2004-04-14 05:28:54 +00:00
parent 71f2a8edd2
commit 708c7cf61c
4 changed files with 9 additions and 13 deletions

View file

@ -50,6 +50,9 @@ URL protocols.</simpara></tip>'>
<xref linkend="wrappers"/> for a listing of which wrappers support
<function>stat</function> family of functionality.</simpara></tip>'>
<!ENTITY note.context-support '<note><simpara>Context support was added
with <literal>PHP 5.0.0</literal>.</simpara></note>'>
<!ENTITY return.success 'Returns &true; on success or &false; on failure.'>
<!ENTITY array.resetspointer '<note><simpara>This function will

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.13 $ -->
<!-- $Revision: 1.14 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.130 -->
<refentry id="function.file-get-contents">
<refnamediv>
@ -26,11 +26,7 @@
</para>
&note.bin-safe;
&tip.fopen-wrapper;
<note>
<simpara>
Context support was added with <literal>PHP 5.0.0</literal>.
</simpara>
</note>
&note.context-support;
&warn.ssl-non-standard;
<simpara>
See also: <function>fgets</function>, <function>file</function>,

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.15 $ -->
<!-- $Revision: 1.16 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.file">
<refnamediv>
@ -65,11 +65,7 @@ $html = implode('', file('http://www.example.com/'));
In PHP 4.3.0 <function>file</function> became binary safe.
</para>
</note>
<note>
<simpara>
Context support was added with <literal>PHP 5.0.0</literal>.
</simpara>
</note>
&note.context-support;
&warn.ssl-non-standard;
<para>
See also <function>readfile</function>,

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.22 $ -->
<!-- $Revision: 1.23 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.fopen">
<refnamediv>
@ -55,6 +55,7 @@
<parameter>zcontext</parameter> parameter , refer to <xref linkend="ref.stream"/>.
</simpara>
</note>
&note.context-support;
<para>
The <parameter>mode</parameter> parameter specifies the type of access
you require to the stream. It may be any of the following: