svn: /phpdoc/en/trunk/language/control-structures/ require.xml
| From: | Daniel Egeberg | Date: | Mon, 26 Jul 2010 14:47:59 +0000 |
| Subject: | svn: /phpdoc/en/trunk/language/control-structures/ require.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-6917@lists.php.net to get a copy of this message | ||
degeberg Mon, 26 Jul 2010 14:47:59 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=301574
Log:
Fixed PHP bug #52445 (Require function documentation contains wrong error level)
Bug: http://bugs.php.net/52445 (Open) Require function
documentation contains wrong error level
Changed paths:
U phpdoc/en/trunk/language/control-structures/require.xml
Modified: phpdoc/en/trunk/language/control-structures/require.xml
===================================================================
--- phpdoc/en/trunk/language/control-structures/require.xml 2010-07-26 14:26:30 UTC (rev 301573)
+++ phpdoc/en/trunk/language/control-structures/require.xml 2010-07-26 14:47:59 UTC (rev 301574)
@@ -6,7 +6,7 @@
<para>
<function>require</function> is identical to <function>include</function>
- except upon failure it will also produce a fatal <constant>E_ERROR</constant>
+ except upon failure it will also produce a fatal <constant>E_COMPILE_ERROR</constant>
level error. In other words, it will halt the script whereas
<function>include</function> only emits a warning
(<constant>E_WARNING</constant>) which allows the script to continue.