vrana Fri Oct 14 03:11:17 2005 EDT
Modified files: /phpdoc/en/reference/filesystem/functions file.xml Log: More similar to file_get_contents (bug #34867) http://cvs.php.net/diff.php/phpdoc/en/reference/filesystem/functions/file.xml?r1=1.16&r2=1.17&ty=u Index: phpdoc/en/reference/filesystem/functions/file.xml diff -u phpdoc/en/reference/filesystem/functions/file.xml:1.16 phpdoc/en/reference/filesystem/functions/file.xml:1.17 --- phpdoc/en/reference/filesystem/functions/file.xml:1.16 Wed Apr 14 01:28:54 2004 +++ phpdoc/en/reference/filesystem/functions/file.xml Fri Oct 14 03:11:15 2005 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.16 $ --> +<!-- $Revision: 1.17 $ --> <!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 --> <refentry id="function.file"> <refnamediv> @@ -15,7 +15,7 @@ <methodparam choice="opt"><type>resource</type><parameter>context</parameter></methodparam> </methodsynopsis> <para> - Identical to <function>readfile</function>, except that + Identical to <function>file_get_contents</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. Upon failure, <function>file</function>