1 parent 4b34a3b commit fa7734fCopy full SHA for fa7734f
1 file changed
Zend/zend_lazy_objects.c
@@ -179,6 +179,7 @@ bool zend_lazy_object_decr_lazy_props(zend_object *obj)
179
return info->lazy_properties_count == 0;
180
}
181
182
+#if ZEND_DEBUG
183
/* See zend_update_class_constants(). */
184
static zend_always_inline bool zend_class_constants_are_updated(const zend_class_entry *ce) {
185
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
190
191
192
return false;
193
194
+#endif
195
196
/**
197
* Making objects lazy
0 commit comments