Skip to content

Commit 21124e0

Browse files
authored
apply review changes
1 parent 273d921 commit 21124e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Zend/zend_object_handlers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,7 @@ ZEND_API zend_result zend_check_property_access(const zend_object *zobj, zend_st
563563
if (!(property_info->flags & ZEND_ACC_PRIVATE)) {
564564
/* we we're looking for a private prop but found a non private one of the same name */
565565
return FAILURE;
566-
} else if (!zend_string_equals(prop_info_name, property_info->name)) {
566+
} else if (strcmp(ZSTR_VAL(prop_info_name)+1, ZSTR_VAL(property_info->name)+1)) {
567567
/* we we're looking for a private prop but found a private one of the same name but another class */
568568
return FAILURE;
569569
}

0 commit comments

Comments
 (0)