pollita Fri Jan 16 14:29:09 2004 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions file-get-contents.xml
Log:
What happens when file_get_contents() fails?
Index: phpdoc/en/reference/filesystem/functions/file-get-contents.xml
diff -u phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.11
phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.12
--- phpdoc/en/reference/filesystem/functions/file-get-contents.xml:1.11 Thu Jan 8
04:43:27 2004
+++ phpdoc/en/reference/filesystem/functions/file-get-contents.xml Fri Jan 16
14:29:09 2004
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.11 $ -->
+<!-- $Revision: 1.12 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.130 -->
<refentry id="function.file-get-contents">
<refnamediv>
@@ -17,6 +17,7 @@
<para>
Identical to <function>file</function>, except that
<function>file_get_contents</function> returns the file in a string.
+ On failure, <function>file_get_contents</function> will return &false;.
</para>
<para>
<function>file_get_contents</function> is the preferred way to read the