Remove ZEND_ACC_USE_GUARDS from hooks (#18587)

This is no longer necessary since the hooks amendments removed guards
for recursion.
This commit is contained in:
Niels Dossche 2025-05-18 15:01:24 +02:00 committed by GitHub
parent 49a60ec084
commit 06738fc051
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2983,7 +2983,6 @@ static void zend_do_traits_property_binding(zend_class_entry *ce, zend_class_ent
hooks[j] = new_fn; hooks[j] = new_fn;
} }
} }
ce->ce_flags |= ZEND_ACC_USE_GUARDS;
} }
} ZEND_HASH_FOREACH_END(); } ZEND_HASH_FOREACH_END();
} }