From e8502a2792d1629a323403afacc71909b8f7e301 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Sun, 18 May 2025 14:00:07 +0200 Subject: [PATCH] Remove ZEND_ACC_USE_GUARDS from hooks This is no longer necessary since the hooks amendments removed guards for recursion. --- Zend/zend_inheritance.c | 1 - 1 file changed, 1 deletion(-) diff --git a/Zend/zend_inheritance.c b/Zend/zend_inheritance.c index e718eb5684e65..3c638f288a806 100644 --- a/Zend/zend_inheritance.c +++ b/Zend/zend_inheritance.c @@ -2983,7 +2983,6 @@ static void zend_do_traits_property_binding(zend_class_entry *ce, zend_class_ent hooks[j] = new_fn; } } - ce->ce_flags |= ZEND_ACC_USE_GUARDS; } } ZEND_HASH_FOREACH_END(); }