summaryrefslogtreecommitdiff
path: root/UPGRADING
diff options
context:
space:
mode:
authorClaude Pache <claude.pache@gmail.com>2019-03-13 18:30:35 +0100
committerPeter Kokot <peterkokot@gmail.com>2019-03-13 20:27:17 +0100
commit37443a6318e04ef0e6cc993aa7ee0bf1afee5394 (patch)
treedb39ac0da13317428e3056f84384a10e2a959e4c /UPGRADING
parent5d6d4ba4c44de7be5418ff1e394c11778ff6762a (diff)
downloadphp-git-37443a6318e04ef0e6cc993aa7ee0bf1afee5394.tar.gz
test reversed
Diffstat (limited to 'UPGRADING')
-rw-r--r--UPGRADING2
1 files changed, 1 insertions, 1 deletions
diff --git a/UPGRADING b/UPGRADING
index a0f8dad83e..1a563803e7 100644
--- a/UPGRADING
+++ b/UPGRADING
@@ -57,7 +57,7 @@ PHP 8.0 UPGRADE NOTES
// With
function my_error_handler($err_no, $err_msg, $filename, $linenum) {
- if (error_reporting() & $err_no) {
+ if (!(error_reporting() & $err_no)) {
return; // Silenced
}
// ...