From 85e53329413488621cf0989cbd3b2abeb3d179dc Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Mon, 14 Feb 2005 09:02:44 +0000 Subject: [PATCH] Most of E_STRICT are raised at the compile time (bug #31919) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@179747 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/errorfunc/functions/error-reporting.xml | 6 +++++- reference/errorfunc/functions/set-error-handler.xml | 5 +++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/reference/errorfunc/functions/error-reporting.xml b/reference/errorfunc/functions/error-reporting.xml index 9359d36886..721467ec20 100644 --- a/reference/errorfunc/functions/error-reporting.xml +++ b/reference/errorfunc/functions/error-reporting.xml @@ -1,5 +1,5 @@ - + @@ -160,6 +160,10 @@ ini_set('error_reporting', E_ALL); With PHP > 5.0.0 E_STRICT with value 2048 is available. E_ALL does NOT include error level E_STRICT. + Most of E_STRICT errors are evaluated at the + compile time thus such errors are not reported in the file where + error_reporting is enhanced + to include E_STRICT errors. diff --git a/reference/errorfunc/functions/set-error-handler.xml b/reference/errorfunc/functions/set-error-handler.xml index 4669b2ec7c..9cf94ce53b 100644 --- a/reference/errorfunc/functions/set-error-handler.xml +++ b/reference/errorfunc/functions/set-error-handler.xml @@ -1,5 +1,5 @@ - + @@ -118,7 +118,8 @@ E_CORE_ERROR, E_CORE_WARNING, E_COMPILE_ERROR, E_COMPILE_WARNING, and - E_STRICT. + most of E_STRICT raised in the file where + set_error_handler is called.