mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fixed failure of ext/spl/tests/array_017.phpt
This commit is contained in:
parent
62d1871430
commit
eacc11b8fd
1 changed files with 3 additions and 1 deletions
|
@ -623,7 +623,9 @@ ZEND_API int zend_check_property_access(zend_object *zobj, zend_string *prop_inf
|
|||
}
|
||||
} else {
|
||||
property_info = zend_get_property_info(zobj->ce, prop_info_name, 1);
|
||||
if (property_info == NULL || property_info == ZEND_WRONG_PROPERTY_INFO) {
|
||||
if (property_info == NULL) {
|
||||
return SUCCESS;
|
||||
} else if (property_info == ZEND_WRONG_PROPERTY_INFO) {
|
||||
return FAILURE;
|
||||
}
|
||||
ZEND_ASSERT(property_info->flags & ZEND_ACC_PUBLIC);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue