[php-src] PR #20988: Fix hooked object properties overflow

From: Date: Wed, 21 Jan 2026 00:17:23 +0000
Subject: [php-src] PR #20988: Fix hooked object properties overflow
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-34621@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/20988 Author: iluuu1994 The computed number of properties using zend_hash_num_elements(zobj->properties) is incorrect when the object contains virtual properties. We don't have a trivial way to find the number of properties hooked properties that need to be added to this number, so just append with zend_hash_add_new() instead. Fixes GH-20479

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