From 7c5119c5a9087fb8c1cf584fab06667d9e522d85 Mon Sep 17 00:00:00 2001 From: Hannes Magnusson Date: Sat, 9 Sep 2006 21:43:11 +0000 Subject: [PATCH] Add E_RECOVERABLE --- php.ini-dist | 3 ++- php.ini-recommended | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/php.ini-dist b/php.ini-dist index 8a4045dc43..264d828006 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -264,6 +264,7 @@ memory_limit = 16M ; Maximum amount of memory a script may consume (16MB) ; reporting level ; E_ALL - All errors and warnings (doesn't include E_STRICT) ; E_ERROR - fatal run-time errors +; E_RECOVERABLE_ERROR - almost fatal run-time errors ; E_WARNING - run-time warnings (non-fatal errors) ; E_PARSE - compile-time parse errors ; E_NOTICE - run-time notices (these are warnings which often result @@ -295,7 +296,7 @@ memory_limit = 16M ; Maximum amount of memory a script may consume (16MB) ; ; - Show only errors ; -;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR +;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR ; ; - Show all errors except for notices and coding standards warnings ; diff --git a/php.ini-recommended b/php.ini-recommended index 379019e403..deed67178d 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -322,6 +322,7 @@ memory_limit = 16M ; Maximum amount of memory a script may consume (16MB) ; reporting level ; E_ALL - All errors and warnings (doesn't include E_STRICT) ; E_ERROR - fatal run-time errors +; E_RECOVERABLE_ERROR - almost fatal run-time errors ; E_WARNING - run-time warnings (non-fatal errors) ; E_PARSE - compile-time parse errors ; E_NOTICE - run-time notices (these are warnings which often result @@ -353,7 +354,7 @@ memory_limit = 16M ; Maximum amount of memory a script may consume (16MB) ; ; - Show only errors ; -;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR +;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR ; ; - Show all errors, except coding standards warnings ; -- 2.50.1