Commit fa7734f43ff for php

commit fa7734f43ff3020c6e21e23a91eb0ab480577b8d
Author: Ilija Tovilo <ilija.tovilo@me.com>
Date:   Fri Sep 25 15:07:05 2026 +0200

    #if out zend_class_constants_are_updated() in release builds

    This function is only used in debug builds.

diff --git a/Zend/zend_lazy_objects.c b/Zend/zend_lazy_objects.c
index f7ef547bc9c..eb8b5f300ee 100644
--- a/Zend/zend_lazy_objects.c
+++ b/Zend/zend_lazy_objects.c
@@ -179,6 +179,7 @@ bool zend_lazy_object_decr_lazy_props(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) {
@@ -190,6 +191,7 @@ static zend_always_inline bool zend_class_constants_are_updated(const zend_class
 	}
 	return false;
 }
+#endif

 /**
  * Making objects lazy