com php-src: test reversed: UPGRADING
| From: | Peter Kokot | Date: | Wed, 13 Mar 2019 19:27:17 +0000 |
| Subject: | com php-src: test reversed: UPGRADING | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105132@lists.php.net to get a copy of this message | ||
Commit: 37443a6318e04ef0e6cc993aa7ee0bf1afee5394
Author: Claude Pache <claude.pache@gmail.com> Wed, 13 Mar 2019 18:30:35 +0100
Committer: Peter Kokot <peterkokot@gmail.com> Wed, 13 Mar 2019 20:27:17 +0100
Parents: 5d6d4ba4c44de7be5418ff1e394c11778ff6762a
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=37443a6318e04ef0e6cc993aa7ee0bf1afee5394
Log:
test reversed
Changed paths:
M UPGRADING
Diff:
diff --git a/UPGRADING b/UPGRADING
index a0f8dad..1a56380 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
}
// ...