[php-src] PR #24746: Fix GH-24743: var_export() ignores exception from nested object export

From: Date: Mon, 26 Oct 2026 14:48:29 +0000
Subject: [php-src] PR #24746: Fix GH-24743: var_export() ignores exception from nested object export
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-39913@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/24746 Author: lazerg The object branch of php_var_export_ex() ignored the result of php_object_element_export(), so when a property hook threw inside a nested object, the outer object kept exporting and var_export() printed a partial result before the exception. Now it releases the recursion guard and properties and returns FAILURE, the same way the array branch already does. Fixes #24743

« previous php.git-pulls (#39913) next »