cvs: phpdoc /en/reference/filesystem/functions fopen.xml
| From: | Philip Olson | Date: | Sun, 08 Jun 2003 19:32:34 +0000 |
| Subject: | cvs: phpdoc /en/reference/filesystem/functions fopen.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969354345@lists.php.net to get a copy of this message | ||
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>