Skip to content

Commit 59e6100

Browse files
committed
Check for WRONG_PROPERTY_INFO
1 parent 4f750f7 commit 59e6100

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_execute.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@ static void zend_verify_internal_read_property_type(zend_object *obj, zend_strin
11941194
{
11951195
zend_property_info *prop_info =
11961196
zend_get_property_info(obj->ce, name, /* silent */ true);
1197-
if (prop_info && ZEND_TYPE_IS_SET(prop_info->type)) {
1197+
if (prop_info && prop_info != ZEND_WRONG_PROPERTY_INFO && ZEND_TYPE_IS_SET(prop_info->type)) {
11981198
zend_verify_property_type(prop_info, val, /* strict */ true);
11991199
}
12001200
}

0 commit comments

Comments
 (0)