| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 15 | protected static function error(): bool |
||
| 16 | { |
||
| 17 | // will be `null` if error handler set by `set_error_handler()` successfully handled the error |
||
| 18 | $error = error_get_last(); // [889ad594-ca28-4770-bb38-fd5bd8cb1777] |
||
| 19 | |||
| 20 | return (bool)(($error['type'] ?? 0) |
||
| 21 | & |
||
| 22 | (E_ERROR | E_CORE_ERROR | E_COMPILE_ERROR | E_USER_ERROR | E_RECOVERABLE_ERROR)); |
||
| 23 | } |
||
| 35 |