Lines Matching refs:UNEXPECTED
164 if (UNEXPECTED(Z_REFCOUNTED_P(__container_to_free))) { \
166 if (UNEXPECTED(!GC_DELREF(__ref))) { \
321 if (UNEXPECTED(Z_TYPE_P(ret) == IS_UNDEF)) { in _get_zval_ptr_cv()
335 if (UNEXPECTED(Z_TYPE_P(ret) == IS_UNDEF)) { in _get_zval_ptr_cv_deref()
351 if (UNEXPECTED(Z_TYPE_P(ret) == IS_UNDEF)) { in _get_zval_ptr_cv_BP_VAR_R()
361 if (UNEXPECTED(Z_TYPE_P(ret) == IS_UNDEF)) { in _get_zval_ptr_cv_deref_BP_VAR_R()
379 if (UNEXPECTED(Z_TYPE_P(ret) == IS_UNDEF)) { in _get_zval_ptr_cv_BP_VAR_RW()
562 } else if (UNEXPECTED(variable_ptr == value_ptr)) { in zend_assign_to_variable_reference()
590 if (UNEXPECTED(EG(exception) != NULL)) { in zend_wrong_assign_to_variable_reference()
670 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_throw_non_object_error()
751 } else if (UNEXPECTED(EG(exception))) { in zend_verify_weak_scalar_type_hint()
811 if (UNEXPECTED(strict)) { in zend_verify_scalar_type_hint()
816 } else if (UNEXPECTED(Z_TYPE_P(arg) == IS_NULL)) { in zend_verify_scalar_type_hint()
1061 if (UNEXPECTED(info->flags & (ZEND_ACC_READONLY|ZEND_ACC_PPP_SET_MASK))) { in zend_assign_to_typed_prop()
1075 if (UNEXPECTED(!i_zend_verify_property_type(info, &tmp, EX_USES_STRICT_TYPES()))) { in zend_assign_to_typed_prop()
1120 if (UNEXPECTED(!ce)) { in zend_fetch_ce_from_cache_slot()
1128 if (UNEXPECTED(!ce)) { in zend_fetch_ce_from_cache_slot()
1170 if (UNEXPECTED(ZEND_TYPE_HAS_LIST(*type))) { in zend_check_type_slow()
1236 if (UNEXPECTED(Z_ISREF_P(arg))) { in zend_check_type()
1263 && UNEXPECTED(!zend_check_type(&cur_arg_info->type, arg, cache_slot, zf->common.scope, 0, 0))) { in zend_verify_recv_arg_type()
1275 if (UNEXPECTED(!zend_check_type(&arg_info->type, arg, cache_slot, zf->common.scope, 0, 0))) { in zend_verify_variadic_arg_type()
1293 } else if (UNEXPECTED(fbc->common.fn_flags & ZEND_ACC_VARIADIC)) { in zend_verify_internal_arg_types()
1300 …&& UNEXPECTED(!zend_check_type(&cur_arg_info->type, arg, /* cache_slot */ NULL, fbc->common.scope,… in zend_verify_internal_arg_types()
1499 if (UNEXPECTED(Z_TYPE_P(ret) != IS_NULL)) { in zend_verify_internal_return_type()
1506 …if (UNEXPECTED(!zend_check_type(&ret_info->type, ret, /* cache_slot */ NULL, NULL, 1, /* is_intern… in zend_verify_internal_return_type()
1577 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_assign_to_object_dim()
1615 if (UNEXPECTED(EG(exception) != NULL)) { in zend_frameless_observed_call()
1622 if (UNEXPECTED(call_info & ZEND_CALL_ALLOCATED)) { in zend_frameless_observed_call()
1659 if (property && UNEXPECTED(Z_ISUNDEF_P(property))) { in zend_binary_assign_op_obj_dim()
1671 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_binary_assign_op_obj_dim()
1677 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_binary_assign_op_obj_dim()
1682 if (UNEXPECTED(GC_DELREF(obj) == 0)) { in zend_binary_assign_op_obj_dim()
1741 if (UNEXPECTED(trailing_data) && type != BP_VAR_UNSET) { in zend_check_string_offset()
1775 if (UNEXPECTED(EG(exception) != NULL)) { in zend_wrong_string_offset_error()
1957 if (UNEXPECTED(GC_DELREF(s) == 0)) { in zend_assign_to_string_offset()
1959 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_assign_to_string_offset()
1965 if (UNEXPECTED(EG(exception) != NULL)) { in zend_assign_to_string_offset()
1966 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_assign_to_string_offset()
1973 if (UNEXPECTED(offset < -(zend_long)ZSTR_LEN(s))) { in zend_assign_to_string_offset()
1976 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_assign_to_string_offset()
1986 if (UNEXPECTED(Z_TYPE_P(value) != IS_STRING)) { in zend_assign_to_string_offset()
1992 if (UNEXPECTED(Z_TYPE_P(value) == IS_UNDEF)) { in zend_assign_to_string_offset()
1997 if (UNEXPECTED(GC_DELREF(s) == 0)) { in zend_assign_to_string_offset()
2002 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_assign_to_string_offset()
2007 if (UNEXPECTED(!tmp)) { in zend_assign_to_string_offset()
2008 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_assign_to_string_offset()
2022 if (UNEXPECTED(string_len != 1)) { in zend_assign_to_string_offset()
2026 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_assign_to_string_offset()
2036 if (UNEXPECTED(GC_DELREF(s) == 0)) { in zend_assign_to_string_offset()
2038 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_assign_to_string_offset()
2044 if (UNEXPECTED(EG(exception) != NULL)) { in zend_assign_to_string_offset()
2045 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_assign_to_string_offset()
2064 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_assign_to_string_offset()
2140 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE_P(copy) == IS_LONG) { in zend_incdec_typed_ref()
2142 if (UNEXPECTED(error_prop)) { in zend_incdec_typed_ref()
2146 } else if (UNEXPECTED(!zend_verify_ref_assignable_zval(ref, var_ptr, EX_USES_STRICT_TYPES()))) { in zend_incdec_typed_ref()
2171 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE_P(copy) == IS_LONG) { in zend_incdec_typed_prop()
2176 } else if (UNEXPECTED(!zend_verify_property_type(prop_info, var_ptr, EX_USES_STRICT_TYPES()))) { in zend_incdec_typed_prop()
2193 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && prop_info in zend_pre_incdec_property_zval()
2203 if (UNEXPECTED(ZEND_REF_HAS_TYPE_SOURCES(ref))) { in zend_pre_incdec_property_zval()
2218 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_pre_incdec_property_zval()
2232 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && prop_info in zend_post_incdec_property_zval()
2268 if (UNEXPECTED(EG(exception))) { in zend_post_incdec_overloaded_property()
2297 if (UNEXPECTED(EG(exception))) { in zend_pre_incdec_overloaded_property()
2299 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_pre_incdec_overloaded_property()
2311 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_pre_incdec_overloaded_property()
2329 if (UNEXPECTED(EG(exception))) { in zend_assign_op_overloaded_property()
2331 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_assign_op_overloaded_property()
2339 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_assign_op_overloaded_property()
2517 if (UNEXPECTED(Z_TYPE_P(container) == IS_STRING)) { in zend_binary_assign_op_dim_slow()
2783 if (UNEXPECTED(retval == NULL)) { in zend_fetch_dimension_address()
2790 if (UNEXPECTED(!retval)) { in zend_fetch_dimension_address()
2807 if (UNEXPECTED(!zend_verify_ref_array_assignable(ref))) { in zend_fetch_dimension_address()
2819 if (UNEXPECTED(Z_TYPE_P(container) == IS_STRING)) { in zend_fetch_dimension_address()
2830 if (ZEND_CONST_COND(dim_type == IS_CV, dim != NULL) && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_fetch_dimension_address()
2837 if (UNEXPECTED(retval == &EG(uninitialized_zval))) { in zend_fetch_dimension_address()
2852 } else if (UNEXPECTED(Z_REFCOUNT_P(retval) == 1)) { in zend_fetch_dimension_address()
2862 if (UNEXPECTED(GC_DELREF(obj) == 0)) { in zend_fetch_dimension_address()
2867 if (type != BP_VAR_W && UNEXPECTED(Z_TYPE_P(container) == IS_UNDEF)) { in zend_fetch_dimension_address()
2875 if (UNEXPECTED(old_type == IS_FALSE)) { in zend_fetch_dimension_address()
2878 if (UNEXPECTED(GC_DELREF(ht) == 0)) { in zend_fetch_dimension_address()
2885 if (UNEXPECTED(Z_TYPE_P(container) == IS_FALSE)) { in zend_fetch_dimension_address()
2890 if (ZEND_CONST_COND(dim_type == IS_CV, dim != NULL) && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_fetch_dimension_address()
2947 if (UNEXPECTED(Z_TYPE_P(dim) != IS_LONG)) { in zend_fetch_dimension_address_read()
2955 if (UNEXPECTED(trailing_data)) { in zend_fetch_dimension_address_read()
2975 if (!(GC_FLAGS(str) & IS_STR_INTERNED) && UNEXPECTED(GC_DELREF(str) == 0)) { in zend_fetch_dimension_address_read()
2992 if (!(GC_FLAGS(str) & IS_STR_INTERNED) && UNEXPECTED(GC_DELREF(str) == 0)) { in zend_fetch_dimension_address_read()
3014 if (UNEXPECTED(ZSTR_LEN(str) < ((offset < 0) ? -(size_t)offset : ((size_t)offset + 1)))) { in zend_fetch_dimension_address_read()
3025 real_offset = (UNEXPECTED(offset < 0)) /* Handle negative offset */ in zend_fetch_dimension_address_read()
3035 if (ZEND_CONST_COND(dim_type == IS_CV, 1) && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_fetch_dimension_address_read()
3047 } else if (UNEXPECTED(Z_ISREF_P(retval))) { in zend_fetch_dimension_address_read()
3053 if (UNEXPECTED(GC_DELREF(obj) == 0)) { in zend_fetch_dimension_address_read()
3057 if (type != BP_VAR_IS && UNEXPECTED(Z_TYPE_P(container) == IS_UNDEF)) { in zend_fetch_dimension_address_read()
3060 if (ZEND_CONST_COND(dim_type == IS_CV, 1) && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_fetch_dimension_address_read()
3132 if (/*OP2_TYPE == IS_CV &&*/ UNEXPECTED(Z_TYPE_P(offset) == IS_UNDEF)) { in zend_isset_dim_slow()
3144 if (UNEXPECTED(lval < 0)) { /* Handle negative offset */ in zend_isset_dim_slow()
3171 if (/*OP2_TYPE == IS_CV &&*/ UNEXPECTED(Z_TYPE_P(offset) == IS_UNDEF)) { in zend_isempty_dim_slow()
3183 if (UNEXPECTED(lval < 0)) { /* Handle negative offset */ in zend_isempty_dim_slow()
3242 if (UNEXPECTED(Z_TYPE_P(key) == IS_UNDEF)) { in zend_array_key_exists_fast()
3344 if (container_op_type != IS_UNUSED && UNEXPECTED(Z_TYPE_P(container) != IS_OBJECT)) { in zend_fetch_property_address()
3353 && UNEXPECTED(Z_TYPE_P(container) == IS_UNDEF)) { in zend_fetch_property_address()
3383 if (UNEXPECTED(prop_info->flags & (ZEND_ACC_READONLY|ZEND_ACC_PPP_SET_MASK)) in zend_fetch_property_address()
3408 } else if (UNEXPECTED(IS_HOOKED_PROPERTY_OFFSET(prop_offset))) { in zend_fetch_property_address()
3412 if (UNEXPECTED(GC_REFCOUNT(zobj->properties) > 1)) { in zend_fetch_property_address()
3438 if (UNEXPECTED(Z_ISREF_P(ptr) && Z_REFCOUNT_P(ptr) == 1)) { in zend_fetch_property_address()
3443 if (UNEXPECTED(EG(exception))) { in zend_fetch_property_address()
3447 } else if (UNEXPECTED(Z_ISERROR_P(ptr))) { in zend_fetch_property_address()
3457 if (UNEXPECTED(!zend_handle_fetch_obj_flags(result, ptr, NULL, prop_info, flags))) { in zend_fetch_property_address()
3486 UNEXPECTED(!Z_ISREF_P(value_ptr))) { in zend_assign_to_property_reference()
3503 if (UNEXPECTED(RETURN_VALUE_USED(opline))) { in zend_assign_to_property_reference()
3550 if (UNEXPECTED(ce == NULL)) { in zend_fetch_static_property_address_ex()
3554 if (UNEXPECTED(op1_type != IS_CONST)) { in zend_fetch_static_property_address_ex()
3561 if (UNEXPECTED(ce == NULL)) { in zend_fetch_static_property_address_ex()
3585 if (op1_type == IS_CV && UNEXPECTED(Z_TYPE_P(varname) == IS_UNDEF)) { in zend_fetch_static_property_address_ex()
3597 if (UNEXPECTED(result == NULL)) { in zend_fetch_static_property_address_ex()
3627 && UNEXPECTED(Z_TYPE_P(result) == IS_UNDEF) in zend_fetch_static_property_address()
3636 if (UNEXPECTED(!result)) { in zend_fetch_static_property_address()
3878 if (UNEXPECTED(ref)) { in zend_assign_to_typed_ref_ex()
3879 if (UNEXPECTED(GC_DELREF(ref) == 0)) { in zend_assign_to_typed_ref_ex()
4129 if (UNEXPECTED(zend_atomic_bool_load_ex(&EG(vm_interrupt)))) { \
4135 if (UNEXPECTED(zend_atomic_bool_load_ex(&EG(vm_interrupt)))) { \
4141 if (UNEXPECTED(zend_atomic_bool_load_ex(&EG(vm_interrupt)))) { \
4250 if (UNEXPECTED(num_args > first_extra_arg)) { in i_init_func_execute_data()
4296 if (EXPECTED(fbc->type == ZEND_USER_FUNCTION) && UNEXPECTED(!RUN_TIME_CACHE(&fbc->op_array))) { in zend_fetch_function()
4311 if (EXPECTED(fbc->type == ZEND_USER_FUNCTION) && UNEXPECTED(!RUN_TIME_CACHE(&fbc->op_array))) { in zend_fetch_function_str()
4424 if (UNEXPECTED(EG(vm_stack)->prev->top == ZEND_VM_STACK_ELEMENTS(EG(vm_stack)->prev))) { in zend_vm_stack_copy_call_frame()
4452 if (UNEXPECTED(opline->opcode == ZEND_INIT_FCALL || in zend_unfinished_calls_gc()
4579 if (UNEXPECTED(EX(call))) { in cleanup_unfinished_calls()
4585 if (UNEXPECTED(opline->opcode == ZEND_INIT_FCALL || in cleanup_unfinished_calls()
4837 if (UNEXPECTED(execute_data->opline->opcode == ZEND_HANDLE_EXCEPTION)) { in zend_unfinished_execution_gc_ex()
4917 if (UNEXPECTED(called_scope == NULL)) { in zend_init_dynamic_call_string()
4929 if (UNEXPECTED(fbc == NULL)) { in zend_init_dynamic_call_string()
4941 if (UNEXPECTED(!(fbc->common.fn_flags & ZEND_ACC_STATIC))) { in zend_init_dynamic_call_string()
4949 if (EXPECTED(fbc->type == ZEND_USER_FUNCTION) && UNEXPECTED(!RUN_TIME_CACHE(&fbc->op_array))) { in zend_init_dynamic_call_string()
4959 if (UNEXPECTED((func = zend_hash_find(EG(function_table), lcname)) == NULL)) { in zend_init_dynamic_call_string()
4967 if (EXPECTED(fbc->type == ZEND_USER_FUNCTION) && UNEXPECTED(!RUN_TIME_CACHE(&fbc->op_array))) { in zend_init_dynamic_call_string()
5013 if (EXPECTED(fbc->type == ZEND_USER_FUNCTION) && UNEXPECTED(!RUN_TIME_CACHE(&fbc->op_array))) { in zend_init_dynamic_call_object()
5034 if (UNEXPECTED(!obj) || UNEXPECTED(!method)) { in zend_init_dynamic_call_array()
5040 if (UNEXPECTED(Z_TYPE_P(obj) != IS_STRING) && UNEXPECTED(Z_TYPE_P(obj) != IS_OBJECT)) { in zend_init_dynamic_call_array()
5046 if (UNEXPECTED(Z_TYPE_P(method) != IS_STRING)) { in zend_init_dynamic_call_array()
5054 if (UNEXPECTED(called_scope == NULL)) { in zend_init_dynamic_call_array()
5063 if (UNEXPECTED(fbc == NULL)) { in zend_init_dynamic_call_array()
5082 if (UNEXPECTED(fbc == NULL)) { in zend_init_dynamic_call_array()
5102 if (EXPECTED(fbc->type == ZEND_USER_FUNCTION) && UNEXPECTED(!RUN_TIME_CACHE(&fbc->op_array))) { in zend_init_dynamic_call_array()
5118 if (UNEXPECTED(!inc_filename)) { in zend_include_or_eval()
5135 } else if (UNEXPECTED(EG(exception))) { in zend_include_or_eval()
5137 } else if (UNEXPECTED(strlen(ZSTR_VAL(inc_filename)) != ZSTR_LEN(inc_filename))) { in zend_include_or_eval()
5171 if (UNEXPECTED(strlen(ZSTR_VAL(inc_filename)) != ZSTR_LEN(inc_filename))) { in zend_include_or_eval()
5200 if (UNEXPECTED(!iter) || UNEXPECTED(EG(exception))) { in zend_fe_reset_iterator()
5214 if (UNEXPECTED(EG(exception) != NULL)) { in zend_fe_reset_iterator()
5223 if (UNEXPECTED(EG(exception) != NULL)) { in zend_fe_reset_iterator()
5334 if (UNEXPECTED(arg_offset == (uint32_t) -1)) { in zend_handle_named_arg()
5340 if (UNEXPECTED(arg_offset == fbc->common.num_args)) { in zend_handle_named_arg()
5379 if (UNEXPECTED(!Z_ISUNDEF_P(arg))) { in zend_handle_named_arg()
5402 if (UNEXPECTED(EG(exception)) && ZEND_USER_CODE(prev_execute_data->func->common.type)) { in end_fake_frame()
5422 if (UNEXPECTED(!RUN_TIME_CACHE(op_array))) { in zend_handle_undef_args()
5441 if (UNEXPECTED(ret == FAILURE)) { in zend_handle_undef_args()
5526 if (UNEXPECTED(used_stack > (size_t)(((char*)EG(vm_stack_end)) - (char*)call))) { in _zend_vm_stack_push_call_frame_ex()
5593 if (check_exception && UNEXPECTED(EG(exception))) { \
5610 } while (UNEXPECTED((++opline)->opcode == _opcode)); \
5614 if ((_check) && UNEXPECTED(EG(exception))) { \
5635 if ((_check) && UNEXPECTED(EG(exception))) { \
5645 if ((_check) && UNEXPECTED(EG(exception))) { \