aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-05-11 03:51:34 +0200
committerAndreas Fischer <bantu@phpbb.com>2011-05-11 03:56:15 +0200
commit5a4a1e3c25b0e10a3ce008dc2eded29decb0f469 (patch)
treea2f50684524fbf3c6ea3c4d41ad73611e1682479 /phpBB/common.php
parent7faabfb532677caadfeee07158a8d14f2e4468e7 (diff)
downloadforums-5a4a1e3c25b0e10a3ce008dc2eded29decb0f469.tar
forums-5a4a1e3c25b0e10a3ce008dc2eded29decb0f469.tar.gz
forums-5a4a1e3c25b0e10a3ce008dc2eded29decb0f469.tar.bz2
forums-5a4a1e3c25b0e10a3ce008dc2eded29decb0f469.tar.xz
forums-5a4a1e3c25b0e10a3ce008dc2eded29decb0f469.zip
[ticket/10126] Use binary "and not" instead of binary "xor" in error_reporting.
Make what we want to achieve clear by using "and not" instead of "xor". PHPBB3-10126
Diffstat (limited to 'phpBB/common.php')
-rw-r--r--phpBB/common.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index ae174c8441..ceafdbd3bd 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -24,7 +24,7 @@ if (!defined('E_DEPRECATED'))
{
define('E_DEPRECATED', 8192);
}
-error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
+error_reporting(E_ALL & ~E_NOTICE & ~E_DEPRECATED);
/*
* Remove variables created by register_globals from the global scope