[php-src] Issue #8113: Php crashing with a TypeError even when declare(strict_types=1) is not set, or even set to strict_types=0
| From: | cmb69 | Date: | Fri, 18 Feb 2022 14:54:17 +0000 |
| Subject: | [php-src] Issue #8113: Php crashing with a TypeError even when declare(strict_types=1) is not set, or even set to strict_types=0 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-239880@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8113
Comment Author: cmb69
You would need to
catch (TypeError) (or even catch (Error)), but again,
that is not recommended.