From 5ca4d8828d1b978ea03b8e00698d887a4d1809b0 Mon Sep 17 00:00:00 2001 From: Niels Dossche <7771979+nielsdos@users.noreply.github.com> Date: Sun, 1 Sep 2024 23:10:54 +0200 Subject: [PATCH] Remove redundant 'zobj->ce->__isset' check (#15699) This became unnecessary due to the addition of lazy objects that added the goto when '!zobj->ce->__isset' above. --- Zend/zend_object_handlers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c index fd9bcf3f1a8..1383c437b64 100644 --- a/Zend/zend_object_handlers.c +++ b/Zend/zend_object_handlers.c @@ -2254,7 +2254,7 @@ found: } result = false; - if ((has_set_exists != ZEND_PROPERTY_EXISTS) && zobj->ce->__isset) { + if (has_set_exists != ZEND_PROPERTY_EXISTS) { uint32_t *guard = zend_get_property_guard(zobj, name); if (!((*guard) & IN_ISSET)) {