cvs: phpdoc /en/reference/filesystem/functions file.xml
| From: | Hannes Magnusson | Date: | Sun, 26 Apr 2009 11:48:24 +0000 |
| Subject: | cvs: phpdoc /en/reference/filesystem/functions file.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3877@lists.php.net to get a copy of this message | ||
bjori Sun Apr 26 11:48:24 2009 UTC
Modified files:
/phpdoc/en/reference/filesystem/functions file.xml
Log:
- Remove version info (its already in the changelog)
- Add a note that these constants do exist since 5.2.7 (but dont do anything)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/file.xml?r1=1.28&r2=1.29&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/file.xml
diff -u phpdoc/en/reference/filesystem/functions/file.xml:1.28
phpdoc/en/reference/filesystem/functions/file.xml:1.29
--- phpdoc/en/reference/filesystem/functions/file.xml:1.28 Fri Jan 16 16:14:25 2009
+++ phpdoc/en/reference/filesystem/functions/file.xml Sun Apr 26 11:48:23 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.28 $ -->
+<!-- $Revision: 1.29 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.file">
<refnamediv>
<refname>file</refname>
@@ -84,8 +84,7 @@
<simpara>
The content is returned in UTF-8 encoding. You can specify a different
encoding by creating a custom context. This flag cannot be used with
- <constant>FILE_BINARY</constant>. This flag is only available since
- PHP 6.
+ <constant>FILE_BINARY</constant>.
</simpara>
</listitem>
</varlistentry>
@@ -96,8 +95,7 @@
<listitem>
<simpara>
The content is read as binary data. This is the default setting
- and cannot be used with <constant>FILE_TEXT</constant>. This flag is
- only available since PHP 6.
+ and cannot be used with <constant>FILE_TEXT</constant>.
</simpara>
</listitem>
</varlistentry>
@@ -156,6 +154,12 @@
<entry>
Added support for the <constant>FILE_TEXT</constant> and
<constant>FILE_BINARY</constant> flags.
+ <note>
+ <para>
+ For <literal>forward compatibility</literal>, these constants are
+ available as of PHP 5.2.7
+ </para>
+ </note>
</entry>
</row>
<row>