diff --git a/Zend/zend_object_handlers.c b/Zend/zend_object_handlers.c index fd9bcf3f1a84f..1383c437b6423 100644 --- a/Zend/zend_object_handlers.c +++ b/Zend/zend_object_handlers.c @@ -2254,7 +2254,7 @@ ZEND_API int zend_std_has_property(zend_object *zobj, zend_string *name, int has } 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)) {