Lines Matching refs:UNEXPECTED

83 				if (UNEXPECTED(Z_TYPE_P(OBJ_PROP(zobj, prop_info->offset)) == IS_UNDEF)) {  in rebuild_object_properties_internal()
119 if (UNEXPECTED(Z_TYPE_P(prop) == IS_UNDEF)) { in zend_std_build_object_properties_array()
145 if (UNEXPECTED(zend_object_is_lazy_proxy(zobj) in zend_get_properties_no_lazy_init()
169 if (UNEXPECTED(zend_object_is_lazy(zobj))) { in zend_std_get_gc()
191 if (UNEXPECTED(zend_object_is_lazy(object))) { in zend_std_get_debug_info()
322 if (UNEXPECTED(GC_DELREF(obj) == 0)) { in zend_deprecated_dynamic_property()
343 if (UNEXPECTED(EG(fake_scope))) { in get_fake_or_executed_scope()
362 if (UNEXPECTED(zend_hash_num_elements(&ce->properties_info) == 0) in zend_get_property_offset()
363 || UNEXPECTED((zv = zend_hash_find(&ce->properties_info, member)) == NULL)) { in zend_get_property_offset()
364 if (UNEXPECTED(ZSTR_VAL(member)[0] == '\0') && ZSTR_LEN(member) != 0) { in zend_get_property_offset()
413 if (UNEXPECTED(!is_protected_compatible_scope(property_info->ce, scope))) { in zend_get_property_offset()
421 if (UNEXPECTED(flags & ZEND_ACC_STATIC)) { in zend_get_property_offset()
466 if (UNEXPECTED(zend_hash_num_elements(&ce->properties_info) == 0) in zend_get_property_info()
468 if (UNEXPECTED(ZSTR_VAL(member)[0] == '\0') && ZSTR_LEN(member) != 0) { in zend_get_property_info()
508 if (UNEXPECTED(!is_protected_compatible_scope(property_info->ce, scope))) { in zend_get_property_info()
516 if (UNEXPECTED(flags & ZEND_ACC_STATIC)) { in zend_get_property_info()
693 if (UNEXPECTED(prop_info->flags & ZEND_ACC_VIRTUAL)) { in zend_call_get_hook()
722 if (prop_info && UNEXPECTED(prop_info->flags & (ZEND_ACC_READONLY|ZEND_ACC_PPP_SET_MASK)) in zend_std_read_property()
747 if (UNEXPECTED(Z_PROP_FLAG_P(retval) & IS_PROP_UNINIT)) { in zend_std_read_property()
791 if (UNEXPECTED(Z_TYPE_P(retval) == IS_UNDEF)) { in zend_std_read_property()
798 if (UNEXPECTED(type == BP_VAR_W || type == BP_VAR_RW || type == BP_VAR_UNSET)) { in zend_std_read_property()
799 if (UNEXPECTED(Z_TYPE_P(retval) != IS_OBJECT)) { in zend_std_read_property()
843 && UNEXPECTED(Z_TYPE_P(rv) != IS_OBJECT)) { in zend_std_read_property()
852 } else if (UNEXPECTED(EG(exception))) { in zend_std_read_property()
903 if (UNEXPECTED(Z_TYPE_P(rv) != IS_OBJECT)) { in zend_std_read_property()
917 } else if (UNEXPECTED(IS_WRONG_PROPERTY_OFFSET(property_offset))) { in zend_std_read_property()
927 if (UNEXPECTED(zend_lazy_object_must_init(zobj))) { in zend_std_read_property()
973 if (prop_info && UNEXPECTED(prop_info->flags & (ZEND_ACC_READONLY|ZEND_ACC_PPP_SET_MASK))) { in zend_std_write_property()
1006 if (UNEXPECTED(GC_DELREF(zobj) == 0)) { in zend_std_write_property()
1013 if (UNEXPECTED(!type_matched)) { in zend_std_write_property()
1049 if (UNEXPECTED(zend_lazy_object_must_init(zobj))) { in zend_std_write_property()
1059 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_write_property()
1107 if (UNEXPECTED(prop_info->flags & ZEND_ACC_PPP_SET_MASK in zend_std_write_property()
1120 } else if (UNEXPECTED(EG(exception))) { in zend_std_write_property()
1139 if (UNEXPECTED(zend_lazy_object_must_init(zobj))) { in zend_std_write_property()
1153 if (UNEXPECTED(zend_lazy_object_must_init(zobj))) { in zend_std_write_property()
1167 if (UNEXPECTED(zobj->ce->ce_flags & ZEND_ACC_NO_DYNAMIC_PROPERTIES)) { in zend_std_write_property()
1172 if (UNEXPECTED(!(zobj->ce->ce_flags & ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES))) { in zend_std_write_property()
1173 if (UNEXPECTED(!zend_deprecated_dynamic_property(zobj, name))) { in zend_std_write_property()
1193 if (UNEXPECTED(!zobj)) { in zend_std_write_property()
1229 if (UNEXPECTED(Z_ISUNDEF_P(rv))) { in zend_std_read_dimension()
1248 if (UNEXPECTED(Z_TYPE_P(rv) == IS_UNDEF)) { in zend_std_read_dimension()
1249 if (UNEXPECTED(!EG(exception))) { in zend_std_read_dimension()
1328 if (UNEXPECTED(Z_TYPE_P(retval) == IS_UNDEF)) { in zend_std_get_property_ptr_ptr()
1330 UNEXPECTED((*zend_get_property_guard(zobj, name)) & IN_GET) || in zend_std_get_property_ptr_ptr()
1331 UNEXPECTED(prop_info && (Z_PROP_FLAG_P(retval) & IS_PROP_UNINIT))) { in zend_std_get_property_ptr_ptr()
1332 if (UNEXPECTED(zend_lazy_object_must_init(zobj) && (Z_PROP_FLAG_P(retval) & IS_PROP_LAZY))) { in zend_std_get_property_ptr_ptr()
1340 if (UNEXPECTED(type == BP_VAR_RW || type == BP_VAR_R)) { in zend_std_get_property_ptr_ptr()
1351 …} else if (prop_info && UNEXPECTED(prop_info->flags & (ZEND_ACC_READONLY|ZEND_ACC_PPP_SET_MASK))) { in zend_std_get_property_ptr_ptr()
1362 …} else if (prop_info && UNEXPECTED(prop_info->flags & (ZEND_ACC_READONLY|ZEND_ACC_PPP_SET_MASK))) { in zend_std_get_property_ptr_ptr()
1369 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_get_property_ptr_ptr()
1380 UNEXPECTED((*zend_get_property_guard(zobj, name)) & IN_GET)) { in zend_std_get_property_ptr_ptr()
1381 if (UNEXPECTED(zobj->ce->ce_flags & ZEND_ACC_NO_DYNAMIC_PROPERTIES)) { in zend_std_get_property_ptr_ptr()
1385 if (UNEXPECTED(!(zobj->ce->ce_flags & ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES))) { in zend_std_get_property_ptr_ptr()
1386 if (UNEXPECTED(!zend_deprecated_dynamic_property(zobj, name))) { in zend_std_get_property_ptr_ptr()
1390 if (UNEXPECTED(zend_lazy_object_must_init(zobj))) { in zend_std_get_property_ptr_ptr()
1398 if (UNEXPECTED(!zobj->properties)) { in zend_std_get_property_ptr_ptr()
1401 if (UNEXPECTED(type == BP_VAR_RW || type == BP_VAR_R)) { in zend_std_get_property_ptr_ptr()
1425 if (prop_info && UNEXPECTED(prop_info->flags & (ZEND_ACC_READONLY|ZEND_ACC_PPP_SET_MASK))) { in zend_std_unset_property()
1448 if (UNEXPECTED(Z_ISREF_P(slot)) && in zend_std_unset_property()
1463 if (UNEXPECTED(Z_PROP_FLAG_P(slot) & IS_PROP_UNINIT)) { in zend_std_unset_property()
1464 if (UNEXPECTED(zend_lazy_object_must_init(zobj) && (Z_PROP_FLAG_P(slot) & IS_PROP_LAZY))) { in zend_std_unset_property()
1479 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_unset_property()
1492 } else if (UNEXPECTED(EG(exception))) { in zend_std_unset_property()
1507 } else if (UNEXPECTED(IS_WRONG_PROPERTY_OFFSET(property_offset))) { in zend_std_unset_property()
1517 if (UNEXPECTED(zend_lazy_object_must_init(zobj))) { in zend_std_unset_property()
1642 if (UNEXPECTED((mname_len = strlen(ZSTR_VAL(method_name))) != ZSTR_LEN(method_name))) { in zend_get_call_trampoline_func()
1663 if (UNEXPECTED(ZEND_NUM_ARGS() != 0)) { in ZEND_FUNCTION()
1781 if (UNEXPECTED((func = zend_hash_find(&zobj->ce->function_table, lc_method_name)) == NULL)) { in zend_std_get_method()
1782 if (UNEXPECTED(!key)) { in zend_std_get_method()
1809 if (UNEXPECTED(fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) in zend_std_get_method()
1810 || UNEXPECTED(!zend_check_protected(zend_get_function_root_class(fbc), scope))) { in zend_std_get_method()
1822 if (fbc && UNEXPECTED(fbc->common.fn_flags & ZEND_ACC_ABSTRACT)) { in zend_std_get_method()
1826 if (UNEXPECTED(!key)) { in zend_std_get_method()
1873 if (UNEXPECTED(fbc->common.scope != scope)) { in zend_std_get_static_method()
1874 if (UNEXPECTED(fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) in zend_std_get_static_method()
1875 || UNEXPECTED(!zend_check_protected(zend_get_function_root_class(fbc), scope))) { in zend_std_get_static_method()
1888 if (UNEXPECTED(!key)) { in zend_std_get_static_method()
1893 if (UNEXPECTED(fbc->common.fn_flags & ZEND_ACC_ABSTRACT)) { in zend_std_get_static_method()
1896 } else if (UNEXPECTED(fbc->common.scope->ce_flags & ZEND_ACC_TRAIT)) { in zend_std_get_static_method()
1941 if (UNEXPECTED(property_info == NULL)) { in zend_std_get_static_property_with_info()
1948 if (UNEXPECTED(property_info->flags & ZEND_ACC_PRIVATE) in zend_std_get_static_property_with_info()
1949 || UNEXPECTED(!is_protected_compatible_scope(property_info->ce, scope))) { in zend_std_get_static_property_with_info()
1958 if (UNEXPECTED((property_info->flags & ZEND_ACC_STATIC) == 0)) { in zend_std_get_static_property_with_info()
1966 if (UNEXPECTED(!(ce->ce_flags & ZEND_ACC_CONSTANTS_UPDATED))) { in zend_std_get_static_property_with_info()
1967 if (UNEXPECTED(zend_update_class_constants(ce) != SUCCESS)) { in zend_std_get_static_property_with_info()
1973 if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { in zend_std_get_static_property_with_info()
1980 if (UNEXPECTED((type == BP_VAR_R || type == BP_VAR_RW) in zend_std_get_static_property_with_info()
1987 if (UNEXPECTED(ce->ce_flags & ZEND_ACC_TRAIT)) { in zend_std_get_static_property_with_info()
2029 if (UNEXPECTED(!(constructor->op_array.fn_flags & ZEND_ACC_PUBLIC))) { in zend_std_get_constructor()
2031 if (UNEXPECTED(constructor->common.scope != scope)) { in zend_std_get_constructor()
2032 if (UNEXPECTED(constructor->op_array.fn_flags & ZEND_ACC_PRIVATE) in zend_std_get_constructor()
2033 || UNEXPECTED(!zend_check_protected(zend_get_function_root_class(constructor), scope))) { in zend_std_get_constructor()
2110 if (UNEXPECTED(Z_IS_RECURSIVE_P(o1))) { in zend_std_compare_objects()
2180 if (UNEXPECTED(Z_PROP_FLAG_P(value) & IS_PROP_UNINIT)) { in zend_std_has_property()
2262 } else if (UNEXPECTED(EG(exception))) { in zend_std_has_property()
2304 if (UNEXPECTED(zend_lazy_object_must_init(zobj))) { in zend_std_has_property()