Lines Matching refs:Z_TYPE_P

151 			if (EXPECTED(Z_TYPE_P(__zv) == IS_INDIRECT)) {					\
249 ZEND_ASSERT(Z_TYPE_P(ret) != IS_REFERENCE); in _get_zval_ptr_tmp()
317 if (UNEXPECTED(Z_TYPE_P(ret) == IS_UNDEF)) { in _get_zval_ptr_cv()
331 if (UNEXPECTED(Z_TYPE_P(ret) == IS_UNDEF)) { in _get_zval_ptr_cv_deref()
347 if (UNEXPECTED(Z_TYPE_P(ret) == IS_UNDEF)) { in _get_zval_ptr_cv_BP_VAR_R()
357 if (UNEXPECTED(Z_TYPE_P(ret) == IS_UNDEF)) { in _get_zval_ptr_cv_deref_BP_VAR_R()
375 if (UNEXPECTED(Z_TYPE_P(ret) == IS_UNDEF)) { in _get_zval_ptr_cv_BP_VAR_RW()
387 if (Z_TYPE_P(ret) == IS_UNDEF) { in _get_zval_ptr_cv_BP_VAR_W()
502 if (EXPECTED(Z_TYPE_P(ret) == IS_INDIRECT)) { in _get_zval_ptr_ptr_var()
656 if (UNEXPECTED(Z_TYPE_P(object) > IS_FALSE && in make_real_object()
657 (Z_TYPE_P(object) != IS_STRING || Z_STRLEN_P(object) != 0))) { in make_real_object()
769 if (ZEND_TYPE_IS_CLASS(arg_info->type) && Z_TYPE_P(value) == IS_OBJECT) { in zend_verify_type_error_common()
819 if (Z_TYPE_P(default_value) == IS_CONSTANT_AST) { in is_null_constant()
882 if (type_hint != IS_DOUBLE || Z_TYPE_P(arg) != IS_LONG) { in zend_verify_scalar_type_hint()
885 } else if (UNEXPECTED(Z_TYPE_P(arg) == IS_NULL)) { in zend_verify_scalar_type_hint()
910Z_TYPE_P(property) == IS_OBJECT ? ZSTR_VAL(Z_OBJCE_P(property)->name) : zend_get_type_by_const(Z_T… in zend_verify_property_type_error()
917Z_TYPE_P(property) == IS_OBJECT ? ZSTR_VAL(Z_OBJCE_P(property)->name) : zend_get_type_by_const(Z_T… in zend_verify_property_type_error()
955 if (UNEXPECTED(Z_TYPE_P(property) != IS_OBJECT)) { in i_zend_check_property_type()
956 return Z_TYPE_P(property) == IS_NULL && ZEND_TYPE_ALLOW_NULL(info->type); in i_zend_check_property_type()
967 if (EXPECTED(ZEND_TYPE_CODE(info->type) == Z_TYPE_P(property))) { in i_zend_check_property_type()
969 } else if (EXPECTED(Z_TYPE_P(property) == IS_NULL)) { in i_zend_check_property_type()
971 …if (ZEND_TYPE_CODE(info->type) == _IS_BOOL && EXPECTED(Z_TYPE_P(property) == IS_FALSE || Z_TYPE_P(… in i_zend_check_property_type()
1033 …return Z_TYPE_P(arg) == IS_NULL && (ZEND_TYPE_ALLOW_NULL(type) || (default_value && is_null_consta… in zend_check_type()
1037 if (EXPECTED(Z_TYPE_P(arg) == IS_OBJECT)) { in zend_check_type()
1040 …return Z_TYPE_P(arg) == IS_NULL && (ZEND_TYPE_ALLOW_NULL(type) || (default_value && is_null_consta… in zend_check_type()
1041 } else if (EXPECTED(ZEND_TYPE_CODE(type) == Z_TYPE_P(arg))) { in zend_check_type()
1045 …if (Z_TYPE_P(arg) == IS_NULL && (ZEND_TYPE_ALLOW_NULL(type) || (default_value && is_null_constant(… in zend_check_type()
1055 EXPECTED(Z_TYPE_P(arg) == IS_FALSE || Z_TYPE_P(arg) == IS_TRUE)) { in zend_check_type()
1224 if (UNEXPECTED(Z_TYPE_P(ret) != IS_NULL)) { in zend_verify_internal_return_type()
1323 if (Z_TYPE_P(z) == IS_OBJECT && Z_OBJ_HT_P(z)->get) { in zend_binary_assign_op_obj_dim()
1376 if (opline->extended_value == ZEND_CONCAT && Z_TYPE_P(zptr) == IS_STRING) { in zend_binary_assign_op_typed_prop()
1378 ZEND_ASSERT(Z_TYPE_P(zptr) == IS_STRING && "Concat should return string"); in zend_binary_assign_op_typed_prop()
1396 if (UNEXPECTED(Z_TYPE_P(dim) != IS_LONG)) { in zend_check_string_offset()
1397 switch(Z_TYPE_P(dim)) { in zend_check_string_offset()
1580 if (Z_TYPE_P(value) != IS_STRING) { in zend_assign_to_string_offset()
1703 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE_P(copy) == IS_LONG) { in zend_incdec_typed_ref()
1731 if (UNEXPECTED(Z_TYPE_P(var_ptr) == IS_DOUBLE) && Z_TYPE_P(copy) == IS_LONG) { in zend_incdec_typed_prop()
1745 if (EXPECTED(Z_TYPE_P(prop) == IS_LONG)) { in zend_pre_incdec_property_zval()
1751 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && UNEXPECTED(prop_info)) { in zend_pre_incdec_property_zval()
1782 if (EXPECTED(Z_TYPE_P(prop) == IS_LONG)) { in zend_post_incdec_property_zval()
1789 if (UNEXPECTED(Z_TYPE_P(prop) != IS_LONG) && UNEXPECTED(prop_info)) { in zend_post_incdec_property_zval()
1831 if (UNEXPECTED(Z_TYPE_P(z) == IS_OBJECT) && Z_OBJ_HT_P(z)->get) { in zend_post_incdec_overloaded_property()
1870 if (UNEXPECTED(Z_TYPE_P(z) == IS_OBJECT) && Z_OBJ_HT_P(z)->get) { in zend_pre_incdec_overloaded_property()
1909 if (Z_TYPE_P(z) == IS_OBJECT && Z_OBJ_HT_P(z)->get) { in zend_assign_op_overloaded_property()
2025 … member function %s() on %s", Z_STRVAL_P(function_name), zend_get_type_by_const(Z_TYPE_P(object))); in zend_invalid_method_call()
2073 if (UNEXPECTED(Z_TYPE_P(container) == IS_STRING)) { in zend_binary_assign_op_dim_slow()
2087 switch (Z_TYPE_P(dim)) { in slow_index_convert()
2133 if (EXPECTED(Z_TYPE_P(dim) == IS_LONG)) { in zend_fetch_dimension_address_inner()
2156 } else if (EXPECTED(Z_TYPE_P(dim) == IS_STRING)) { in zend_fetch_dimension_address_inner()
2167 if (UNEXPECTED(Z_TYPE_P(retval) == IS_INDIRECT)) { in zend_fetch_dimension_address_inner()
2169 if (UNEXPECTED(Z_TYPE_P(retval) == IS_UNDEF)) { in zend_fetch_dimension_address_inner()
2213 } else if (EXPECTED(Z_TYPE_P(dim) == IS_REFERENCE)) { in zend_fetch_dimension_address_inner()
2258 if (EXPECTED(Z_TYPE_P(container) == IS_ARRAY)) { in zend_fetch_dimension_address()
2278 } else if (EXPECTED(Z_TYPE_P(container) == IS_REFERENCE)) { in zend_fetch_dimension_address()
2281 if (EXPECTED(Z_TYPE_P(container) == IS_ARRAY)) { in zend_fetch_dimension_address()
2283 } else if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) { in zend_fetch_dimension_address()
2298 if (UNEXPECTED(Z_TYPE_P(container) == IS_STRING)) { in zend_fetch_dimension_address()
2306 } else if (EXPECTED(Z_TYPE_P(container) == IS_OBJECT)) { in zend_fetch_dimension_address()
2307 if (ZEND_CONST_COND(dim_type == IS_CV, dim != NULL) && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_fetch_dimension_address()
2320 } else if (EXPECTED(retval && Z_TYPE_P(retval) != IS_UNDEF)) { in zend_fetch_dimension_address()
2326 if (Z_TYPE_P(retval) != IS_OBJECT) { in zend_fetch_dimension_address()
2340 if (EXPECTED(Z_TYPE_P(container) <= IS_FALSE)) { in zend_fetch_dimension_address()
2341 if (type != BP_VAR_W && UNEXPECTED(Z_TYPE_P(container) == IS_UNDEF)) { in zend_fetch_dimension_address()
2350 if (ZEND_CONST_COND(dim_type == IS_CV, dim != NULL) && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_fetch_dimension_address()
2392 if (EXPECTED(Z_TYPE_P(container) == IS_ARRAY)) { in zend_fetch_dimension_address_read()
2397 } else if (EXPECTED(Z_TYPE_P(container) == IS_REFERENCE)) { in zend_fetch_dimension_address_read()
2399 if (EXPECTED(Z_TYPE_P(container) == IS_ARRAY)) { in zend_fetch_dimension_address_read()
2404 if (!is_list && EXPECTED(Z_TYPE_P(container) == IS_STRING)) { in zend_fetch_dimension_address_read()
2408 if (UNEXPECTED(Z_TYPE_P(dim) != IS_LONG)) { in zend_fetch_dimension_address_read()
2409 switch (Z_TYPE_P(dim)) { in zend_fetch_dimension_address_read()
2461 } else if (EXPECTED(Z_TYPE_P(container) == IS_OBJECT)) { in zend_fetch_dimension_address_read()
2462 if (ZEND_CONST_COND(dim_type == IS_CV, 1) && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_fetch_dimension_address_read()
2481 if (type != BP_VAR_IS && UNEXPECTED(Z_TYPE_P(container) == IS_UNDEF)) { in zend_fetch_dimension_address_read()
2484 if (ZEND_CONST_COND(dim_type == IS_CV, 1) && UNEXPECTED(Z_TYPE_P(dim) == IS_UNDEF)) { in zend_fetch_dimension_address_read()
2528 if (Z_TYPE_P(offset) == IS_DOUBLE) { in zend_find_array_dim_slow()
2532 } else if (Z_TYPE_P(offset) == IS_NULL) { in zend_find_array_dim_slow()
2535 } else if (Z_TYPE_P(offset) == IS_FALSE) { in zend_find_array_dim_slow()
2538 } else if (Z_TYPE_P(offset) == IS_TRUE) { in zend_find_array_dim_slow()
2541 } else if (Z_TYPE_P(offset) == IS_RESOURCE) { in zend_find_array_dim_slow()
2544 } else if (/*OP2_TYPE == IS_CV &&*/ Z_TYPE_P(offset) == IS_UNDEF) { in zend_find_array_dim_slow()
2555 if (/*OP2_TYPE == IS_CV &&*/ UNEXPECTED(Z_TYPE_P(offset) == IS_UNDEF)) { in zend_isset_dim_slow()
2559 if (/*OP1_TYPE != IS_CONST &&*/ EXPECTED(Z_TYPE_P(container) == IS_OBJECT)) { in zend_isset_dim_slow()
2561 } else if (EXPECTED(Z_TYPE_P(container) == IS_STRING)) { /* string offsets */ in zend_isset_dim_slow()
2564 if (EXPECTED(Z_TYPE_P(offset) == IS_LONG)) { in zend_isset_dim_slow()
2579 if (Z_TYPE_P(offset) < IS_STRING /* simple scalar types */ in zend_isset_dim_slow()
2580 || (Z_TYPE_P(offset) == IS_STRING /* or numeric string */ in zend_isset_dim_slow()
2594 if (/*OP2_TYPE == IS_CV &&*/ UNEXPECTED(Z_TYPE_P(offset) == IS_UNDEF)) { in zend_isempty_dim_slow()
2598 if (/*OP1_TYPE != IS_CONST &&*/ EXPECTED(Z_TYPE_P(container) == IS_OBJECT)) { in zend_isempty_dim_slow()
2600 } else if (EXPECTED(Z_TYPE_P(container) == IS_STRING)) { /* string offsets */ in zend_isempty_dim_slow()
2603 if (EXPECTED(Z_TYPE_P(offset) == IS_LONG)) { in zend_isempty_dim_slow()
2618 if (Z_TYPE_P(offset) < IS_STRING /* simple scalar types */ in zend_isempty_dim_slow()
2619 || (Z_TYPE_P(offset) == IS_STRING /* or numeric string */ in zend_isempty_dim_slow()
2637 if (EXPECTED(Z_TYPE_P(key) == IS_STRING)) { in zend_array_key_exists_fast()
2644 } else if (EXPECTED(Z_TYPE_P(key) == IS_LONG)) { in zend_array_key_exists_fast()
2651 } else if (Z_TYPE_P(key) <= IS_NULL) { in zend_array_key_exists_fast()
2652 if (UNEXPECTED(Z_TYPE_P(key) == IS_UNDEF)) { in zend_array_key_exists_fast()
2665 if (EXPECTED(Z_TYPE_P(subject) == IS_OBJECT)) { in zend_array_key_exists_slow()
2675 if (UNEXPECTED(Z_TYPE_P(key) == IS_UNDEF)) { in zend_array_key_exists_slow()
2681 …ey_exists() expects parameter 2 to be array, %s given", zend_get_type_by_const(Z_TYPE_P(subject))); in zend_array_key_exists_slow()
2687 return Z_TYPE_P(val) <= IS_FALSE in promotes_to_array()
2688 || (Z_ISREF_P(val) && Z_TYPE_P(Z_REFVAL_P(val)) <= IS_FALSE); in promotes_to_array()
2693 return Z_TYPE_P(val) <= IS_FALSE in promotes_to_object()
2694 || (Z_TYPE_P(val) == IS_STRING && Z_STRLEN_P(val) == 0); in promotes_to_object()
2799 if (Z_TYPE_P(ptr) != IS_REFERENCE) { in zend_handle_fetch_obj_flags()
2806 if (Z_TYPE_P(ptr) == IS_UNDEF) { in zend_handle_fetch_obj_flags()
2828 if (container_op_type != IS_UNUSED && UNEXPECTED(Z_TYPE_P(container) != IS_OBJECT)) { in zend_fetch_property_address()
2830 if (Z_ISREF_P(container) && Z_TYPE_P(Z_REFVAL_P(container)) == IS_OBJECT) { in zend_fetch_property_address()
2837 && UNEXPECTED(Z_TYPE_P(container) == IS_UNDEF)) { in zend_fetch_property_address()
2861 if (EXPECTED(Z_TYPE_P(ptr) != IS_UNDEF)) { in zend_fetch_property_address()
2920 if (init_undef && UNEXPECTED(Z_TYPE_P(ptr) == IS_UNDEF)) { in zend_fetch_property_address()
2933 if (Z_TYPE_P(variable_ptr) == IS_INDIRECT) { in zend_assign_to_property_reference()
3041 if (EXPECTED(Z_TYPE_P(varname) == IS_STRING)) { in zend_fetch_static_property_address_ex()
3045 if (op1_type == IS_CV && UNEXPECTED(Z_TYPE_P(varname) == IS_UNDEF)) { in zend_fetch_static_property_address_ex()
3086 && UNEXPECTED(Z_TYPE_P(*retval) == IS_UNDEF) && UNEXPECTED(property_info->type != 0)) { in zend_fetch_static_property_address()
3115 Z_TYPE_P(zv) == IS_OBJECT ? ZSTR_VAL(Z_OBJCE_P(zv)->name) : zend_get_type_by_const(Z_TYPE_P(zv)), in zend_throw_ref_type_error_type()
3129 Z_TYPE_P(zv) == IS_OBJECT ? ZSTR_VAL(Z_OBJCE_P(zv)->name) : zend_get_type_by_const(Z_TYPE_P(zv)), in zend_throw_ref_type_error_zval()
3141 Z_TYPE_P(zv) == IS_OBJECT ? ZSTR_VAL(Z_OBJCE_P(zv)->name) : zend_get_type_by_const(Z_TYPE_P(zv)), in zend_throw_conflicting_coercion_error()
3156 zend_uchar zv_type = Z_TYPE_P(zv); in i_zend_verify_type_assignable_zval()
3216 ZEND_ASSERT(Z_TYPE_P(zv) != IS_REFERENCE); in zend_verify_ref_assignable_zval()
3248 ZEND_ASSERT(Z_TYPE_P(zval_ptr) != IS_REFERENCE); in i_zval_ptr_dtor_noref()
3425 if (Z_TYPE_P(pz) == IS_INDIRECT) { in zend_check_symbol()
3428 if (Z_TYPE_P(pz) > 10) { in zend_check_symbol()
3434 } else if (Z_TYPE_P(pz) == IS_ARRAY) { in zend_check_symbol()
3436 } else if (Z_TYPE_P(pz) == IS_OBJECT) { in zend_check_symbol()
3972 ZEND_ASSERT(Z_TYPE_P(var) == IS_OBJECT); in cleanup_live_vars()
3977 if (Z_TYPE_P(var) != IS_ARRAY && Z_FE_ITER_P(var) != (uint32_t)-1) { in cleanup_live_vars()
4168 if (UNEXPECTED(Z_TYPE_P(obj) != IS_STRING) && UNEXPECTED(Z_TYPE_P(obj) != IS_OBJECT)) { in zend_init_dynamic_call_array()
4174 if (UNEXPECTED(Z_TYPE_P(method) != IS_STRING)) { in zend_init_dynamic_call_array()
4179 if (Z_TYPE_P(obj) == IS_STRING) { in zend_init_dynamic_call_array()
4245 if (Z_TYPE_P(inc_filename) != IS_STRING) { in zend_include_or_eval()