php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #42648 E_ALL was changed in PHP 5.2, not PHP6
Submitted: 2007-09-12 21:07 UTC Modified: 2007-10-13 13:28 UTC
From: craig at craigfrancis dot co dot uk Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
 [2007-09-12 21:07 UTC] craig at craigfrancis dot co dot uk
Description:
------------
On:

http://www.php.net/error_reporting

It mentions that "E_STRICT became part of E_ALL" in PHP6, but it appears to also be the case in PHP 5.2.

It is also mentioned in:

http://www.php.net/manual/en/ref.errorfunc.php#errorfunc.constants.errorlevels.e-all

With the description:
"All errors and warnings, as supported, except of level E_STRICT in PHP < 6."

Although the note seems fine:
"6143 in PHP 5.2.x and 2047 previously"


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-10-13 13:28 UTC] bjori@php.net
The docs are correct.
E_RECOVERABLE_ERROR (4096) is however part of E_ALL which is why E_ALL is 6143 now
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Jun 17 06:00:02 2026 UTC