/PHP-8.0/Zend/ |
H A D | zend_type_info.h | 30 #define MAY_BE_DOUBLE (1 << IS_DOUBLE) macro 35 #define MAY_BE_ANY (MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE… 51 #define MAY_BE_ARRAY_OF_DOUBLE (MAY_BE_DOUBLE << MAY_BE_ARRAY_SHIFT)
|
H A D | zend_execute.c | 728 if ((type_mask & MAY_BE_DOUBLE) && Z_TYPE_P(arg) == IS_STRING) { in zend_verify_weak_scalar_type_hint() 746 if ((type_mask & MAY_BE_DOUBLE) && zend_parse_arg_double_weak(arg, &dval)) { in zend_verify_weak_scalar_type_hint() 785 if ((type_mask & MAY_BE_DOUBLE) && zend_parse_arg_double_weak(arg, &dval)) { in zend_verify_weak_scalar_type_hint_no_sideeffect() 802 if (!(type_mask & MAY_BE_DOUBLE) || Z_TYPE_P(arg) != IS_LONG) { in zend_verify_scalar_type_hint() 809 && (type_mask & (MAY_BE_TRUE|MAY_BE_FALSE|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_STRING)); in zend_verify_scalar_type_hint() 1672 if (!(ZEND_TYPE_FULL_MASK(prop->type) & MAY_BE_DOUBLE)) { in zend_get_prop_not_accepting_double() 1770 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_incdec_typed_prop() 1792 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_pre_incdec_property_zval() 1831 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_post_incdec_property_zval() 3192 if ((type_mask & MAY_BE_DOUBLE) && zv_type == IS_LONG) { in i_zend_verify_type_assignable_zval() [all …]
|
H A D | zend_vm_def.h | 9221 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_ADD, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE), Z… 9257 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_SUB, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE), Z… 9295 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_MUL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE), Z… 9319 …_HANDLER(ZEND_IS_EQUAL|ZEND_IS_IDENTICAL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)… 9343 …(ZEND_IS_NOT_EQUAL|ZEND_IS_NOT_IDENTICAL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)… 9396 …VM_HOT_TYPE_SPEC_HANDLER(ZEND_IS_SMALLER, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)… 9420 …PE_SPEC_HANDLER(ZEND_IS_SMALLER_OR_EQUAL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)… 9538 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_QM_ASSIGN, (op1_info == MAY_BE_DOUBLE), ZEND_QM_ASSIGN_DOUBLE, C… 9548 …E_ANY|MAY_BE_UNDEF)-(MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE))))), ZEND_QM_…
|
H A D | zend_vm_execute.h | 63370 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 63391 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 63412 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 63428 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 63446 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 63464 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 63480 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 63493 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 63506 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 63516 } else if (op1_info == MAY_BE_DOUBLE) { [all …]
|
H A D | zend_compile.c | 1237 if (type_mask & MAY_BE_DOUBLE) { in zend_type_to_string_resolved() 6233 if ((ZEND_TYPE_FULL_MASK(type) & MAY_BE_DOUBLE) && Z_TYPE_P(value) == IS_LONG) { in zend_is_valid_default_value()
|
/PHP-8.0/ext/intl/formatter/ |
H A D | formatter_functions_arginfo.h | 11 ZEND_ARG_TYPE_MASK(0, value, MAY_BE_LONG|MAY_BE_DOUBLE) 15 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_parse, 0, 2, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_B… 28 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_parse_currency, 0, 3, MAY_BE_DOUBLE|MAY_BE_F…
|
H A D | formatter_arginfo.h | 13 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL) 36 ZEND_ARG_TYPE_MASK(0, value, MAY_BE_LONG|MAY_BE_DOUBLE, NULL)
|
/PHP-8.0/ext/opcache/tests/jit/ |
H A D | bool_not_002.phpt | 2 JIT BOOL_NOT: 002 Incorrect function JIT for MAY_BE_DOUBLE|MAY_BE_UNDEF
|
/PHP-8.0/ext/opcache/Optimizer/ |
H A D | zend_func_info.c | 76 if ((t1 & (MAY_BE_DOUBLE|MAY_BE_STRING)) in zend_range_info() 77 || (t2 & (MAY_BE_DOUBLE|MAY_BE_STRING)) in zend_range_info() 78 || (t3 & (MAY_BE_DOUBLE|MAY_BE_STRING))) { in zend_range_info() 81 if ((t1 & (MAY_BE_ANY-MAY_BE_DOUBLE)) && (t2 & (MAY_BE_ANY-MAY_BE_DOUBLE))) { in zend_range_info() 82 if ((t3 & MAY_BE_ANY) != MAY_BE_DOUBLE) { in zend_range_info() 118 … MAY_BE_NULL | MAY_BE_FALSE | MAY_BE_TRUE | MAY_BE_LONG | MAY_BE_DOUBLE | MAY_BE_STRIN… 237 F1("microtime", MAY_BE_DOUBLE | MAY_BE_STRING), 238 …F1("gettimeofday", MAY_BE_DOUBLE | MAY_BE_ARRAY | MAY_BE_ARRAY_KEY_STRING | MAY_BE… 431 …F1("date_sunrise", MAY_BE_FALSE | MAY_BE_LONG | MAY_BE_DOUBLE | MAY_BE_ST… 432 …F1("date_sunset", MAY_BE_FALSE | MAY_BE_LONG | MAY_BE_DOUBLE | MAY_BE_ST… [all …]
|
H A D | zend_inference.c | 1951 } else if (t1_type == MAY_BE_DOUBLE || t2_type == MAY_BE_DOUBLE) { in binary_op_result_type() 1952 tmp |= MAY_BE_DOUBLE; in binary_op_result_type() 1978 } else if (t1_type == MAY_BE_DOUBLE || t2_type == MAY_BE_DOUBLE) { in binary_op_result_type() 1979 tmp |= MAY_BE_DOUBLE; in binary_op_result_type() 1986 if (t1_type == MAY_BE_DOUBLE || t2_type == MAY_BE_DOUBLE) { in binary_op_result_type() 1987 tmp |= MAY_BE_DOUBLE; in binary_op_result_type() 2546 if (t1 & MAY_BE_DOUBLE) { in _zend_update_type_info() 2547 tmp |= MAY_BE_DOUBLE; in _zend_update_type_info() 2605 if (t1 & MAY_BE_DOUBLE) { in _zend_update_type_info() 2606 tmp |= MAY_BE_DOUBLE; in _zend_update_type_info() [all …]
|
H A D | dfa_pass.c | 337 uint32_t simple = MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE; in opline_supports_assign_contraction() 1227 if ((OP2_INFO() & MAY_BE_ANY) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array() 1242 || ((OP2_INFO() & (MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array() 1262 if ((OP1_INFO() & MAY_BE_ANY) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array() 1275 || ((OP1_INFO() & (MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array() 1449 …fo[result_var].type & ((MAY_BE_ANY|MAY_BE_REF|MAY_BE_UNDEF) - (MAY_BE_LONG|MAY_BE_DOUBLE))) == 0) { in zend_dfa_optimize_op_array() 1463 …fo[result_var].type & ((MAY_BE_ANY|MAY_BE_REF|MAY_BE_UNDEF) - (MAY_BE_LONG|MAY_BE_DOUBLE))) == 0) { in zend_dfa_optimize_op_array()
|
H A D | zend_dump.c | 229 if (info & MAY_BE_DOUBLE) { in zend_dump_type_info()
|
/PHP-8.0/ext/opcache/jit/ |
H A D | zend_jit_x86.dasc | 4775 if (op1_info & MAY_BE_DOUBLE) { 4782 if (op2_info & MAY_BE_DOUBLE) { 4801 if (op1_info & MAY_BE_DOUBLE) { 4807 if (op2_info & MAY_BE_DOUBLE) { 4839 if (op2_info & MAY_BE_DOUBLE) { 4874 if (op1_info & MAY_BE_DOUBLE) { 7934 if (op1_info & MAY_BE_DOUBLE) { 7971 if (op2_info & MAY_BE_DOUBLE) { 8005 if (op1_info & MAY_BE_DOUBLE) { 15976 if ((op1_info & MAY_BE_DOUBLE) && (op2_info & MAY_BE_DOUBLE)) { [all …]
|
H A D | zend_jit_helpers.c | 2153 if (!(ZEND_TYPE_FULL_MASK(prop->type) & MAY_BE_DOUBLE)) { in zend_jit_get_prop_not_accepting_double() 2575 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_inc_typed_prop() 2598 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_dec_typed_prop() 2634 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_post_inc_typed_prop() 2655 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_post_dec_typed_prop() 2681 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_pre_inc_obj_helper() 2749 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_pre_dec_obj_helper() 2816 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_post_inc_obj_helper() 2875 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_post_dec_obj_helper()
|
H A D | zend_jit_trace.c | 984 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard() 997 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard() 1051 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard() 2638 if (!(ssa->var_info[ssa_op->result_def].type & MAY_BE_DOUBLE) in zend_jit_trace_allocate_registers() 4039 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE); in zend_jit_trace() 4141 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE); in zend_jit_trace() 4179 } else if (!(op1_info & (MAY_BE_LONG|MAY_BE_DOUBLE)) || in zend_jit_trace() 4180 !(op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in zend_jit_trace() 4223 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE); in zend_jit_trace() 4254 || (res_info & (MAY_BE_ANY|MAY_BE_GUARD)) == (MAY_BE_DOUBLE|MAY_BE_GUARD)) in zend_jit_trace() [all …]
|
H A D | zend_jit.c | 1495 if ((ssa->var_info[current->ssa_var].type & MAY_BE_ANY) == MAY_BE_DOUBLE) { in zend_jit_try_allocate_free_reg() 2089 return (op1_info & (MAY_BE_LONG|MAY_BE_DOUBLE)) in zend_jit_supported_binary_op() 2090 && (op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE)); in zend_jit_supported_binary_op() 2373 …(op1_info & MAY_BE_LONG) && (op1_def_info & MAY_BE_DOUBLE) && zend_may_overflow(opline, ssa_op, op… in zend_jit() 2450 } else if (!(op1_info & (MAY_BE_LONG|MAY_BE_DOUBLE)) || in zend_jit() 2451 !(op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in zend_jit() 2496 …(op1_info & MAY_BE_LONG) && (op2_info & MAY_BE_LONG) && (res_info & MAY_BE_DOUBLE) && zend_may_ove… in zend_jit() 2553 …(op1_info & MAY_BE_LONG) && (op2_info & MAY_BE_LONG) && (op1_def_info & MAY_BE_DOUBLE) && zend_may… in zend_jit()
|
/PHP-8.0/ext/intl/ |
H A D | php_intl_arginfo.h | 26 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_intlcal_get_time, 0, 1, MAY_BE_DOUBLE|MAY_BE_FALSE) 350 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_datefmt_parse, 0, 2, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_… 378 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL) 382 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_parse, 0, 2, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_B… 395 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_parse_currency, 0, 3, MAY_BE_DOUBLE|MAY_BE_F… 405 ZEND_ARG_TYPE_MASK(0, value, MAY_BE_LONG|MAY_BE_DOUBLE, NULL) 408 …ITH_RETURN_TYPE_MASK_EX(arginfo_numfmt_get_attribute, 0, 2, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE)
|
/PHP-8.0/ext/standard/ |
H A D | basic_functions_arginfo.h | 186 ZEND_ARG_TYPE_MASK(0, step, MAY_BE_LONG|MAY_BE_DOUBLE, "1") 321 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_array_sum, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE) 1592 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_abs, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE) 1593 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL) 1597 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL) 1603 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL) 1683 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_bindec, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE) 1687 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_hexdec, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE) 1691 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_octdec, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE) 1724 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_microtime, 0, 0, MAY_BE_STRING|MAY_BE_DOUBLE) [all …]
|
/PHP-8.0/ext/date/ |
H A D | php_date_arginfo.h | 211 …TURN_TYPE_MASK_EX(arginfo_date_sunrise, 0, 1, MAY_BE_STRING|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE)
|
/PHP-8.0/ext/oci8/ |
H A D | oci8_arginfo.h | 389 …_TYPE_MASK_EX(arginfo_oci_collection_element_get, 0, 2, MAY_BE_STRING|MAY_BE_DOUBLE|MAY_BE_NULL|MA…
|
/PHP-8.0/ext/reflection/ |
H A D | php_reflection.c | 3012 if (type_mask & MAY_BE_DOUBLE) { in ZEND_METHOD() 3013 append_type_mask(return_value, MAY_BE_DOUBLE); in ZEND_METHOD()
|