cvs: phpdoc /en/reference/filesystem/functions file.xml
| From: | Philip Olson | Date: | Thu, 24 Oct 2002 18:58:01 +0000 |
| Subject: | cvs: phpdoc /en/reference/filesystem/functions file.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969349245@lists.php.net to get a copy of this message | ||
philip Thu Oct 24 14:58:01 2002 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions file.xml
Log:
Upon failure, file() returns false. (fixes: bug #20047)
Index: phpdoc/en/reference/filesystem/functions/file.xml
diff -u phpdoc/en/reference/filesystem/functions/file.xml:1.5
phpdoc/en/reference/filesystem/functions/file.xml:1.6
--- phpdoc/en/reference/filesystem/functions/file.xml:1.5 Fri Oct 18 16:47:26 2002
+++ phpdoc/en/reference/filesystem/functions/file.xml Thu Oct 24 14:58:01 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.5 $ -->
+<!-- $Revision: 1.6 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.file">
<refnamediv>
@@ -17,7 +17,8 @@
Identical to <function>readfile</function>, except that
<function>file</function> returns the file in an array. Each
element of the array corresponds to a line in the file, with the
- newline still attached.
+ newline still attached. Upon failure, <function>file</function>
+ returns &false;.
</para>
<note>
<para>
@@ -28,8 +29,8 @@
</note>
¬e.line-endings;
<para>
- You can use the optional second parameter and set it to "1", if
- you want to search for the file in the <link
+ You can use the optional <parameter>use_include_path</parameter> parameter
+ and set it to "1", if you want to search for the file in the <link
linkend="ini.include-path">include_path</link>, too.
</para>
<para>