[php-src] PR #15825: Fix zend_lazy_object_get_properties for object with prop ht, when init fails

From: Date: Tue, 10 Sep 2024 12:01:04 +0000
Subject: [php-src] PR #15825: Fix zend_lazy_object_get_properties for object with prop ht, when init fails
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-28517@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/15825 Author: arnaud-lb Fixes #15823. zend_lazy_object_get_properties() is used by zend_std_get_properties_ex() to fetch the properties of lazy objects. It initializes the object and returns its properties. When initialization fails, zend_object.properties was expected to be either NULL or &zend_empty_array. This expectation was wrong, as calling zend_get_properties_no_lazy_init() will set zend_object.properties.

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