[php-src] PR #17533: Fix GH-17408: Assertion failure Zend/zend_exceptions.c
| From: | nielsdos | Date: | Mon, 20 Jan 2025 20:50:20 +0000 |
| Subject: | [php-src] PR #17533: Fix GH-17408: Assertion failure Zend/zend_exceptions.c | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-30460@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/17533
Author: nielsdos
zend_test_create_throwing_resource sets the exception in the test call
frame and unwinds to main. It then throws for the resource variable and
verifies that the exception opline is set. However, it wasn't set in main, it was
set at the test call frame and rethrown later. The assertion is too conservative, but
the end result is right, so drop the assertion.