[php-src] PR #22114: Fix GH-22112: assertion when error handler throws during NaN coercion
| From: | iliaal | Date: | Thu, 21 May 2026 22:40:20 +0000 |
| Subject: | [php-src] PR #22114: Fix GH-22112: assertion when error handler throws during NaN coercion | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-36190@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/22114
Author: iliaal
Recv-arg verification for a userland function asserts
!EG(exception) after a successful
weak coercion. zend_parse_arg_bool_weak and zend_parse_arg_str_weak
returned success without checking whether the NaN-coerced-to-bool/string warning had triggered a
throw from the user error handler. Mirror the post-warning check in
zend_parse_arg_long_weak.
Fixes #22112