View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0027799 | mantisbt | bugtracker | public | 2020-12-24 07:39 | 2020-12-30 07:37 |
Reporter | dregad | Assigned To | dregad | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Target Version | 2.24.4 | Fixed in Version | 2.24.4 | ||
Summary | 0027799: Adapt Error handler to PHP 8 | ||||
Description | In PHP 8, the @ operator will no longer silence fatal errors (E_ERROR, E_CORE_ERROR, E_COMPILE_ERROR, E_USER_ERROR, E_RECOVERABLE_ERROR, E_PARSE). We need to modify our error handler, use a mask check instead of comparing error_reporting() == 0. | ||||
Tags | PHP 8 | ||||
MantisBT: master 67e707ea 2020-12-24 03:34 Details Diff |
PHP8-compatible check for suppressed errors Update error_handler() to correctly deal with `@` operator, as per https://www.php.net/manual/en/migration80.incompatible.php Fixes 0027799 |
Affected Issues 0027799 |
|
mod - core/error_api.php | Diff File | ||
MantisBT: master-2.24 a0566d03 2020-12-24 03:34 Details Diff |
PHP8-compatible check for suppressed errors Update error_handler() to correctly deal with `@` operator, as per https://www.php.net/manual/en/migration80.incompatible.php Fixes 0027799 (cherry picked from commit 67e707ea72277dfcedeacf065d450e8c99810f95) |
Affected Issues 0027799 |
|
mod - core/error_api.php | Diff File |