Skip to content

Commit 37443a6

Browse files
claudepachepetk
authored andcommitted
test reversed
1 parent 5d6d4ba commit 37443a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UPGRADING

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ PHP 8.0 UPGRADE NOTES
5757

5858
// With
5959
function my_error_handler($err_no, $err_msg, $filename, $linenum) {
60-
if (error_reporting() & $err_no) {
60+
if (!(error_reporting() & $err_no)) {
6161
return; // Silenced
6262
}
6363
// ...

0 commit comments

Comments
 (0)