[php-src] PR #21463: Fix GH-20875: Propagate IN_GET guard in get_property_ptr_ptr for lazy proxies

From: Date: Tue, 17 Mar 2026 01:14:25 +0000
Subject: [php-src] PR #21463: Fix GH-20875: Propagate IN_GET guard in get_property_ptr_ptr for lazy proxies
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-35258@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/21463 Author: iliaal ## Summary - zend_std_get_property_ptr_ptr() was the only property handler that did not propagate the IN_GET guard to the underlying object when forwarding from a lazy proxy after initialization - Without the guard, __get is called on the underlying object when it shouldn't be, causing assertion failures (_get_zval_ptr_tmp, _zendi_try_convert_scalar_to_number, ZEND_RETURN_BY_REF_SPEC_VAR_HANDLER) - The same guard-copying pattern already existed in read_property, write_property, unset_property, and has_property since commit 26f5009e91 (GH-18039) Fixes #20875, #20873, #20854.

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