Lines Matching refs:UNEXPECTED

79 				if (UNEXPECTED(Z_TYPE_P(OBJ_PROP(zobj, prop_info->offset)) == IS_UNDEF)) {  in rebuild_object_properties()
111 if (UNEXPECTED(Z_TYPE_P(prop) == IS_UNDEF)) { in zend_std_build_object_properties_array()
290 if (UNEXPECTED(GC_DELREF(obj) == 0)) { in zend_deprecated_dynamic_property()
329 if (UNEXPECTED(zend_hash_num_elements(&ce->properties_info) == 0) in zend_get_property_offset()
330 || UNEXPECTED((zv = zend_hash_find(&ce->properties_info, member)) == NULL)) { in zend_get_property_offset()
331 if (UNEXPECTED(ZSTR_VAL(member)[0] == '\0') && ZSTR_LEN(member) != 0) { in zend_get_property_offset()
349 if (UNEXPECTED(EG(fake_scope))) { in zend_get_property_offset()
384 if (UNEXPECTED(!is_protected_compatible_scope(property_info->ce, scope))) { in zend_get_property_offset()
392 if (UNEXPECTED(flags & ZEND_ACC_STATIC)) { in zend_get_property_offset()
429 if (UNEXPECTED(zend_hash_num_elements(&ce->properties_info) == 0) in zend_get_property_info()
431 if (UNEXPECTED(ZSTR_VAL(member)[0] == '\0') && ZSTR_LEN(member) != 0) { in zend_get_property_info()
445 if (UNEXPECTED(EG(fake_scope))) { in zend_get_property_info()
475 if (UNEXPECTED(!is_protected_compatible_scope(property_info->ce, scope))) { in zend_get_property_info()
483 if (UNEXPECTED(flags & ZEND_ACC_STATIC)) { in zend_get_property_info()
626 if (prop_info && UNEXPECTED(prop_info->flags & ZEND_ACC_READONLY) in zend_std_read_property()
643 if (prop_info && UNEXPECTED(prop_info->flags & ZEND_ACC_READONLY)) { in zend_std_read_property()
654 if (UNEXPECTED(Z_PROP_FLAG_P(retval) & IS_PROP_UNINIT)) { in zend_std_read_property()
685 } else if (UNEXPECTED(EG(exception))) { in zend_std_read_property()
737 if (UNEXPECTED(Z_TYPE_P(rv) != IS_OBJECT)) { in zend_std_read_property()
745 if (UNEXPECTED(prop_info)) { in zend_std_read_property()
751 } else if (UNEXPECTED(IS_WRONG_PROPERTY_OFFSET(property_offset))) { in zend_std_read_property()
762 if (UNEXPECTED(prop_info)) { in zend_std_read_property()
790 if (UNEXPECTED(EG(fake_scope))) { in verify_readonly_initialization_access()
830 if (UNEXPECTED(prop_info)) { in zend_std_write_property()
831 …if (UNEXPECTED((prop_info->flags & ZEND_ACC_READONLY) && !(Z_PROP_FLAG_P(variable_ptr) & IS_PROP_R… in zend_std_write_property()
842 if (UNEXPECTED(GC_DELREF(zobj) == 0)) { in zend_std_write_property()
849 if (UNEXPECTED(!type_matched)) { in zend_std_write_property()
890 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_write_property()
901 } else if (UNEXPECTED(EG(exception))) { in zend_std_write_property()
933 if (UNEXPECTED(prop_info)) { in zend_std_write_property()
934 if (UNEXPECTED((prop_info->flags & ZEND_ACC_READONLY) in zend_std_write_property()
945 if (UNEXPECTED(GC_DELREF(zobj) == 0)) { in zend_std_write_property()
952 if (UNEXPECTED(!type_matched)) { in zend_std_write_property()
963 if (UNEXPECTED(zobj->ce->ce_flags & ZEND_ACC_NO_DYNAMIC_PROPERTIES)) { in zend_std_write_property()
968 if (UNEXPECTED(!(zobj->ce->ce_flags & ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES))) { in zend_std_write_property()
969 if (UNEXPECTED(!zend_deprecated_dynamic_property(zobj, name))) { in zend_std_write_property()
1012 if (UNEXPECTED(Z_ISUNDEF_P(rv))) { in zend_std_read_dimension()
1031 if (UNEXPECTED(Z_TYPE_P(rv) == IS_UNDEF)) { in zend_std_read_dimension()
1032 if (UNEXPECTED(!EG(exception))) { in zend_std_read_dimension()
1109 if (UNEXPECTED(Z_TYPE_P(retval) == IS_UNDEF)) { in zend_std_get_property_ptr_ptr()
1111 UNEXPECTED((*zend_get_property_guard(zobj, name)) & IN_GET) || in zend_std_get_property_ptr_ptr()
1112 UNEXPECTED(prop_info && (Z_PROP_FLAG_P(retval) & IS_PROP_UNINIT))) { in zend_std_get_property_ptr_ptr()
1113 if (UNEXPECTED(type == BP_VAR_RW || type == BP_VAR_R)) { in zend_std_get_property_ptr_ptr()
1114 if (UNEXPECTED(prop_info)) { in zend_std_get_property_ptr_ptr()
1127 } else if (prop_info && UNEXPECTED(prop_info->flags & ZEND_ACC_READONLY)) { in zend_std_get_property_ptr_ptr()
1137 } else if (prop_info && UNEXPECTED(prop_info->flags & ZEND_ACC_READONLY)) { in zend_std_get_property_ptr_ptr()
1143 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_get_property_ptr_ptr()
1154 UNEXPECTED((*zend_get_property_guard(zobj, name)) & IN_GET)) { in zend_std_get_property_ptr_ptr()
1155 if (UNEXPECTED(zobj->ce->ce_flags & ZEND_ACC_NO_DYNAMIC_PROPERTIES)) { in zend_std_get_property_ptr_ptr()
1159 if (UNEXPECTED(!(zobj->ce->ce_flags & ZEND_ACC_ALLOW_DYNAMIC_PROPERTIES))) { in zend_std_get_property_ptr_ptr()
1160 if (UNEXPECTED(!zend_deprecated_dynamic_property(zobj, name))) { in zend_std_get_property_ptr_ptr()
1164 if (UNEXPECTED(!zobj->properties)) { in zend_std_get_property_ptr_ptr()
1167 if (UNEXPECTED(type == BP_VAR_RW || type == BP_VAR_R)) { in zend_std_get_property_ptr_ptr()
1191 if (UNEXPECTED(prop_info && (prop_info->flags & ZEND_ACC_READONLY))) { in zend_std_unset_property()
1199 if (UNEXPECTED(Z_ISREF_P(slot)) && in zend_std_unset_property()
1214 if (UNEXPECTED(Z_PROP_FLAG_P(slot) & IS_PROP_UNINIT)) { in zend_std_unset_property()
1215 if (UNEXPECTED(prop_info && (prop_info->flags & ZEND_ACC_READONLY) in zend_std_unset_property()
1226 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_std_unset_property()
1235 } else if (UNEXPECTED(EG(exception))) { in zend_std_unset_property()
1247 } else if (UNEXPECTED(IS_WRONG_PROPERTY_OFFSET(property_offset))) { in zend_std_unset_property()
1373 if (UNEXPECTED((mname_len = strlen(ZSTR_VAL(method_name))) != ZSTR_LEN(method_name))) { in zend_get_call_trampoline_func()
1430 if (UNEXPECTED((func = zend_hash_find(&zobj->ce->function_table, lc_method_name)) == NULL)) { in zend_std_get_method()
1431 if (UNEXPECTED(!key)) { in zend_std_get_method()
1458 if (UNEXPECTED(fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) in zend_std_get_method()
1459 || UNEXPECTED(!zend_check_protected(zend_get_function_root_class(fbc), scope))) { in zend_std_get_method()
1471 if (fbc && UNEXPECTED(fbc->common.fn_flags & ZEND_ACC_ABSTRACT)) { in zend_std_get_method()
1475 if (UNEXPECTED(!key)) { in zend_std_get_method()
1522 if (UNEXPECTED(fbc->common.scope != scope)) { in zend_std_get_static_method()
1523 if (UNEXPECTED(fbc->op_array.fn_flags & ZEND_ACC_PRIVATE) in zend_std_get_static_method()
1524 || UNEXPECTED(!zend_check_protected(zend_get_function_root_class(fbc), scope))) { in zend_std_get_static_method()
1537 if (UNEXPECTED(!key)) { in zend_std_get_static_method()
1542 if (UNEXPECTED(fbc->common.fn_flags & ZEND_ACC_ABSTRACT)) { in zend_std_get_static_method()
1545 } else if (UNEXPECTED(fbc->common.scope->ce_flags & ZEND_ACC_TRAIT)) { in zend_std_get_static_method()
1591 if (UNEXPECTED(property_info == NULL)) { in zend_std_get_static_property_with_info()
1596 if (UNEXPECTED(EG(fake_scope))) { in zend_std_get_static_property_with_info()
1602 if (UNEXPECTED(property_info->flags & ZEND_ACC_PRIVATE) in zend_std_get_static_property_with_info()
1603 || UNEXPECTED(!is_protected_compatible_scope(property_info->ce, scope))) { in zend_std_get_static_property_with_info()
1612 if (UNEXPECTED((property_info->flags & ZEND_ACC_STATIC) == 0)) { in zend_std_get_static_property_with_info()
1620 if (UNEXPECTED(!(ce->ce_flags & ZEND_ACC_CONSTANTS_UPDATED))) { in zend_std_get_static_property_with_info()
1621 if (UNEXPECTED(zend_update_class_constants(ce) != SUCCESS)) { in zend_std_get_static_property_with_info()
1627 if (UNEXPECTED(CE_STATIC_MEMBERS(ce) == NULL)) { in zend_std_get_static_property_with_info()
1634 if (UNEXPECTED((type == BP_VAR_R || type == BP_VAR_RW) in zend_std_get_static_property_with_info()
1641 if (UNEXPECTED(ce->ce_flags & ZEND_ACC_TRAIT)) { in zend_std_get_static_property_with_info()
1684 if (UNEXPECTED(!(constructor->op_array.fn_flags & ZEND_ACC_PUBLIC))) { in zend_std_get_constructor()
1685 if (UNEXPECTED(EG(fake_scope))) { in zend_std_get_constructor()
1690 if (UNEXPECTED(constructor->common.scope != scope)) { in zend_std_get_constructor()
1691 if (UNEXPECTED(constructor->op_array.fn_flags & ZEND_ACC_PRIVATE) in zend_std_get_constructor()
1692 || UNEXPECTED(!zend_check_protected(zend_get_function_root_class(constructor), scope))) { in zend_std_get_constructor()
1768 if (UNEXPECTED(Z_IS_RECURSIVE_P(o1))) { in zend_std_compare_objects()
1840 if (UNEXPECTED(Z_PROP_FLAG_P(value) & IS_PROP_UNINIT)) { in zend_std_has_property()
1883 } else if (UNEXPECTED(EG(exception))) { in zend_std_has_property()