Modified language to reflect that E_STRICT is now a part of E_ALL in PHP > 5.4.0 in error_reporting note, which fixes Bug #62645.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@326794 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Sherif Ramadan 2012-07-24 06:04:11 +00:00
parent 7f5e92953b
commit 00ccd41946

View file

@ -164,9 +164,9 @@
<note>
<para>
In PHP 5 a new error level <constant>E_STRICT</constant> is available.
As <constant>E_STRICT</constant> is not included within
<constant>E_ALL</constant> you have to explicitly enable this kind of
error level. Enabling <constant>E_STRICT</constant> during development
Prior to PHP 5.4.0 <constant>E_STRICT</constant> was not included within
<constant>E_ALL</constant>, so you would have to explicitly enable this kind of
error level in PHP < 5.4.0. Enabling <constant>E_STRICT</constant> during development
has some benefits. STRICT messages will help you to use the latest and
greatest suggested method of coding, for example warn you about using
deprecated functions.