svn: /phpdoc/en/trunk/appendices/ migration5.xml
| From: | Torben Wilson | Date: | Wed, 26 Aug 2009 05:47:31 +0000 |
| Subject: | svn: /phpdoc/en/trunk/appendices/ migration5.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-4756@lists.php.net to get a copy of this message | ||
torben Wed, 26 Aug 2009 05:47:31 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=287727
Log:
Grammar fixes, clarification, and a pointer to the list of predefined error reporting constants.
Changed paths:
U phpdoc/en/trunk/appendices/migration5.xml
Modified: phpdoc/en/trunk/appendices/migration5.xml
===================================================================
--- phpdoc/en/trunk/appendices/migration5.xml 2009-08-26 05:13:12 UTC (rev 287726)
+++ phpdoc/en/trunk/appendices/migration5.xml 2009-08-26 05:47:31 UTC (rev 287727)
@@ -911,18 +911,23 @@
<section xml:id='migrating5.errorrep'>
<title>Error Reporting</title>
<para>
- As of PHP 5 new error reporting constant <constant>E_STRICT</constant>
- was introduced with value 2048. It enables run-time PHP suggestions on your
- code interoperability and forward compatibility, that will help you to keep
- latest and greatest suggested method of coding. E.g. STRICT message will
- warn you on using deprecated functions.
+ As of PHP 5 the error reporting
+ constant <constant>E_STRICT</constant> is available, with the
+ value <literal>2048</literal>. When enabled, messages will be
+ issued to warn you about code usage which is deprecated or which
+ may not be future-proof.
</para>
<note>
<simpara>
- <constant>E_ALL</constant> does not include
<constant>E_STRICT</constant>
- so it's not enabled by default
+ <constant>E_ALL</constant> does not include
<constant>E_STRICT</constant>,
+ so it's not enabled by default. You must explicitly set the error
+ reporting level to include <constant>E_STRICT</constant> in order
+ to see these messages.
</simpara>
</note>
+ <para>
+ See <link linkend="errorfunc.constants">Predefined Constants</link> for
more information.
+ </para>
</section>
</appendix>