The FILE_USE_INCLUDE_PATH can be used as of PHP 5

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279393 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Hannes Magnusson 2009-04-26 12:13:14 +00:00
parent dd3930696e
commit a3be604733

View file

@ -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