diff options
| author | Nikita Popov <nikita.ppv@gmail.com> | 2019-02-11 17:10:36 +0100 |
|---|---|---|
| committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-02-11 17:10:36 +0100 |
| commit | 61ef088f21619a9baf84479086cc37a93e5ca4c8 (patch) | |
| tree | 766b008ec617f9dc53053ab1a5e3385b3fd971f9 /UPGRADING | |
| parent | a302d1161036988fe220ecd8ecd73e6af1a116fc (diff) | |
| download | php-git-61ef088f21619a9baf84479086cc37a93e5ca4c8.tar.gz | |
Add missing braces in UPGRADING example
[ci skip]
Diffstat (limited to 'UPGRADING')
| -rw-r--r-- | UPGRADING | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,7 +49,7 @@ PHP 8.0 UPGRADE NOTES // Replace function my_error_handler($err_no, $err_msg, $filename, $linenum) { - if (error_reporting() == 0) + if (error_reporting() == 0) { return; // Silenced } // ... @@ -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 } // ... |
