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.