[php-src] master: Merge branch 'PHP-8.6'

From: Date: Fri, 25 Sep 2026 13:10:36 +0000
Subject: [php-src] master: Merge branch 'PHP-8.6'
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-141555@lists.php.net to get a copy of this message
Author: Ilija Tovilo (iluuu1994) Date: 2026-09-25T15:09:44+02:00 Commit: https://github.com/php/php-src/commit/69ca307e1d482c7959b22d594852264ee179fe45 Raw diff: https://github.com/php/php-src/commit/69ca307e1d482c7959b22d594852264ee179fe45.diff Merge branch 'PHP-8.6' * PHP-8.6: #if out zend_class_constants_are_updated() in release builds Changed paths: M Zend/zend_lazy_objects.c Diff: diff --git a/Zend/zend_lazy_objects.c b/Zend/zend_lazy_objects.c index d945a23d2b65..368cc6bf78b6 100644 --- a/Zend/zend_lazy_objects.c +++ b/Zend/zend_lazy_objects.c @@ -178,6 +178,7 @@ bool zend_lazy_object_decr_lazy_props(const zend_object *obj) return info->lazy_properties_count == 0; } +#if ZEND_DEBUG /* See zend_update_class_constants(). */ static zend_always_inline bool zend_class_constants_are_updated(const zend_class_entry *ce) { if (ce->ce_flags & ZEND_ACC_CONSTANTS_UPDATED) { @@ -189,6 +190,7 @@ static zend_always_inline bool zend_class_constants_are_updated(const zend_class } return false; } +#endif /** * Making objects lazy

« previous php.cvs (#141555) next »