bit operations are fun

This commit is contained in:
Marc Delisle
2006-02-18 15:30:24 +00:00
parent b3f8d5cc88
commit caeff963f8

View File

@@ -43,7 +43,9 @@
if (defined('E_STRICT')) {
$old_error_reporting = error_reporting(0);
error_reporting($old_error_reporting ^ E_STRICT);
if ($old_error_reporting & E_STRICT) {
error_reporting($old_error_reporting ^ E_STRICT);
}
unset($old_error_reporting);
}