Skip to content

Commit 5ca4d88

Browse files
authored
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.
1 parent 2a30f2f commit 5ca4d88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_object_handlers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2254,7 +2254,7 @@ ZEND_API int zend_std_has_property(zend_object *zobj, zend_string *name, int has
22542254
}
22552255

22562256
result = false;
2257-
if ((has_set_exists != ZEND_PROPERTY_EXISTS) && zobj->ce->__isset) {
2257+
if (has_set_exists != ZEND_PROPERTY_EXISTS) {
22582258
uint32_t *guard = zend_get_property_guard(zobj, name);
22592259

22602260
if (!((*guard) & IN_ISSET)) {

0 commit comments

Comments
 (0)