1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

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.
This commit is contained in:
Niels Dossche
2024-09-01 23:10:54 +02:00
committed by GitHub
parent 2a30f2ffc4
commit 5ca4d8828d

View File

@@ -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)) {