svn: /phpdoc/en/trunk/language/control-structures/ require.xml

From: Date: Fri, 09 Oct 2009 22:45:35 +0000
Subject: svn: /phpdoc/en/trunk/language/control-structures/ require.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5121@lists.php.net to get a copy of this message
mez Fri, 09 Oct 2009 22:45:35 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=289452 Log: Fix wording for require (Closes: #38024) Bug: http://bugs.php.net/38024 (Assigned) require() raises E_WARNING before E_ERROR 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 2009-10-09 22:02:40 UTC (rev 289451) +++ phpdoc/en/trunk/language/control-structures/require.xml 2009-10-09 22:45:35 UTC (rev 289452) @@ -6,7 +6,7 @@ <para> <function>require</function> is identical to <function>include</function> - except upon failure it will produce a fatal <constant>E_ERROR</constant> + except upon failure it will also produce a fatal <constant>E_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.

« previous php.doc.cvs (#5121) next »