re-establish previous error reporting

This commit is contained in:
Marc Delisle
2006-02-19 14:27:39 +00:00
parent 7a22937583
commit c7bb1d9871
2 changed files with 5 additions and 0 deletions

View File

@@ -45,6 +45,8 @@ if (defined('E_STRICT')) {
$old_error_reporting = error_reporting(0);
if ($old_error_reporting & E_STRICT) {
error_reporting($old_error_reporting ^ E_STRICT);
} else {
error_reporting($old_error_reporting);
}
unset($old_error_reporting);
}