From a3be60473379d1064a236d2cbeff8ffb1fe79aab Mon Sep 17 00:00:00 2001 From: Hannes Magnusson <bjori@php.net> Date: Sun, 26 Apr 2009 12:13:14 +0000 Subject: [PATCH] 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 --- .../filesystem/functions/file-get-contents.xml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/reference/filesystem/functions/file-get-contents.xml b/reference/filesystem/functions/file-get-contents.xml index 0a58e17a9b..4d82574b01 100644 --- a/reference/filesystem/functions/file-get-contents.xml +++ b/reference/filesystem/functions/file-get-contents.xml @@ -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