From e48e044d973002d9de9fc0b1a33eec20c9d1c740 Mon Sep 17 00:00:00 2001 From: Torben Wilson Date: Wed, 26 Aug 2009 05:47:31 +0000 Subject: [PATCH] Grammar fixes, clarification, and a pointer to the list of predefined error reporting constants. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@287727 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/migration5.xml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/appendices/migration5.xml b/appendices/migration5.xml index 684ae08594..6c15b0df72 100644 --- a/appendices/migration5.xml +++ b/appendices/migration5.xml @@ -911,18 +911,23 @@ Action application/x-httpd-php "/php/php-cgi.exe"
Error Reporting - As of PHP 5 new error reporting constant E_STRICT - 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 E_STRICT is available, with the + value 2048. When enabled, messages will be + issued to warn you about code usage which is deprecated or which + may not be future-proof. - E_ALL does not include E_STRICT - so it's not enabled by default + E_ALL does not include E_STRICT, + so it's not enabled by default. You must explicitly set the error + reporting level to include E_STRICT in order + to see these messages. + + See Predefined Constants for more information. +