cvs: phpdoc /en/reference/filesystem/functions file-get-contents.xml
| From: | Hannes Magnusson | Date: | Sun, 26 Apr 2009 12:13:15 +0000 |
| Subject: | cvs: phpdoc /en/reference/filesystem/functions file-get-contents.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-3879@lists.php.net to get a copy of this message | ||
bjori Sun Apr 26 12:13:15 2009 UTC
Modified files:
/phpdoc/en/reference/filesystem/functions file-get-contents.xml
Log:
The FILE_USE_INCLUDE_PATH can be used as of PHP 5
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/filesystem/functions/file-get-contents.xml?r1=1.38&r2=1.39&diff_format=u
Index: phpdoc/en/reference/filesystem/functions/file-get-contents.xml
diff -u phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.38
phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.39
--- phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.38 Sun Apr 26 11:47:34 2009
+++ phpdoc/en/reference/filesystem/functions/file-get-contents.xml Sun Apr 26 12:13:14 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.38 $ -->
+<!-- $Revision: 1.39 $ -->
<refentry xmlns="http://docbook.org/ns/docbook"
xml:id="function.file-get-contents">
<refnamediv>
<refname>file_get_contents</refname>
@@ -51,18 +51,15 @@
<varlistentry>
<term><parameter>flags</parameter></term>
<listitem>
- <warning>
+ <note>
<para>
- For all versions prior to PHP 6, this parameter is called
+ Prior to PHP 6, this parameter is called
<parameter>use_include_path</parameter> and is a <type>bool</type>.
- The <parameter>flags</parameter> parameter is only available since
- PHP 6. If you use an older version and want to search for
- <parameter>filename</parameter> in the
- <link linkend="ini.include-path">include path</link>, this
- parameter must be &true;. Since PHP 6, you have to use the
- <constant>FILE_USE_INCLUDE_PATH</constant> flag instead.
+ As of PHP 5 the <constant>FILE_USE_INCLUDE_PATH</constant> can be used
+ to trigger <link linkend="ini.include-path">include path</link>
+ search.
</para>
- </warning>
+ </note>
<para>
The value of <parameter>flags</parameter> can be any combination of
the following flags (with some restrictions), joined with the