mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
If an exception _and_ a warning (or deprecation) is emitted, then the result is destroyed twice. Use an `else if` to prevent this. This is tested via zend_test because the deprecation that triggered the original reproducer may disappear in the future. Closes GH-19793.