philip Sun Jun 8 15:32:34 2003 EDT
Modified files:
/phpdoc/en/reference/filesystem/functions fopen.xml
Log:
fopen() also generates E_WARNING on failure.
Index: phpdoc/en/reference/filesystem/functions/fopen.xml
diff -u phpdoc/en/reference/filesystem/functions/fopen.xml:1.15
phpdoc/en/reference/filesystem/functions/fopen.xml:1.16
--- phpdoc/en/reference/filesystem/functions/fopen.xml:1.15 Sat Jun 7 10:12:51
2003
+++ phpdoc/en/reference/filesystem/functions/fopen.xml Sun Jun 8 15:32:33 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.15 $ -->
+<!-- $Revision: 1.16 $ -->
<!-- splitted from ./en/functions/filesystem.xml, last change in rev 1.2 -->
<refentry id="function.fopen">
<refnamediv>
@@ -185,7 +185,10 @@
the <link linkend="ini.include-path">include_path</link>, too.
</para>
<simpara>
- If the open fails, the function returns &false;.
+ If the open fails, the function returns &false; and an error of
+ level <constant>E_WARNING</constant> is generated. You may use
+ <link linkend="language.operators.errorcontrol">@</link> to
+ suppress this warning.
</simpara>
<para>
<example>
--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php