/PHP-8.2/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 | 720 if ((type_mask & MAY_BE_DOUBLE) && Z_TYPE_P(arg) == IS_STRING) { in zend_verify_weak_scalar_type_hint() 740 if ((type_mask & MAY_BE_DOUBLE) && zend_parse_arg_double_weak(arg, &dval, 0)) { in zend_verify_weak_scalar_type_hint() 781 if ((type_mask & MAY_BE_DOUBLE) && zend_parse_arg_double_weak(arg, &dval, (uint32_t)-1)) { in zend_verify_weak_scalar_type_hint_no_sideeffect() 798 if (!(type_mask & MAY_BE_DOUBLE) || Z_TYPE_P(arg) != IS_LONG) { in zend_verify_scalar_type_hint() 805 && (type_mask & (MAY_BE_TRUE|MAY_BE_FALSE|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_STRING)); in zend_verify_scalar_type_hint() 1786 if (!(ZEND_TYPE_FULL_MASK(prop->type) & MAY_BE_DOUBLE)) { in zend_get_prop_not_accepting_double() 1884 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_incdec_typed_prop() 1906 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_pre_incdec_property_zval() 1945 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_post_incdec_property_zval() 3428 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 | 9446 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_ADD, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE), Z… 9482 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_SUB, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE), Z… 9520 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_MUL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE), Z… 9544 …_HANDLER(ZEND_IS_EQUAL|ZEND_IS_IDENTICAL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)… 9568 …(ZEND_IS_NOT_EQUAL|ZEND_IS_NOT_IDENTICAL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)… 9621 …VM_HOT_TYPE_SPEC_HANDLER(ZEND_IS_SMALLER, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)… 9645 …PE_SPEC_HANDLER(ZEND_IS_SMALLER_OR_EQUAL, (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE)… 9763 ZEND_VM_HOT_TYPE_SPEC_HANDLER(ZEND_QM_ASSIGN, (op1_info == MAY_BE_DOUBLE), ZEND_QM_ASSIGN_DOUBLE, C… 9773 …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 | 64371 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 64392 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 64413 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 64429 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 64447 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 64465 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 64481 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 64494 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 64507 } else if (op1_info == MAY_BE_DOUBLE && op2_info == MAY_BE_DOUBLE) { 64517 } else if (op1_info == MAY_BE_DOUBLE) { [all …]
|
/PHP-8.2/Zend/Optimizer/ |
H A D | zend_func_info.c | 73 if ((t1 & (MAY_BE_DOUBLE|MAY_BE_STRING)) in zend_range_info() 74 || (t2 & (MAY_BE_DOUBLE|MAY_BE_STRING)) in zend_range_info() 75 || (t3 & (MAY_BE_DOUBLE|MAY_BE_STRING))) { in zend_range_info() 78 if ((t1 & ((MAY_BE_ANY|MAY_BE_UNDEF)-MAY_BE_DOUBLE)) in zend_range_info() 79 && (t2 & ((MAY_BE_ANY|MAY_BE_UNDEF)-MAY_BE_DOUBLE))) { in zend_range_info() 80 if ((t3 & MAY_BE_ANY) != MAY_BE_DOUBLE) { in zend_range_info()
|
H A D | zend_inference.c | 2284 } else if (t1_type == MAY_BE_DOUBLE || t2_type == MAY_BE_DOUBLE) { in binary_op_result_type() 2285 tmp |= MAY_BE_DOUBLE; in binary_op_result_type() 2311 } else if (t1_type == MAY_BE_DOUBLE || t2_type == MAY_BE_DOUBLE) { in binary_op_result_type() 2312 tmp |= MAY_BE_DOUBLE; in binary_op_result_type() 2319 if (t1_type == MAY_BE_DOUBLE || t2_type == MAY_BE_DOUBLE) { in binary_op_result_type() 2320 tmp |= MAY_BE_DOUBLE; in binary_op_result_type() 2824 && (tmp & (MAY_BE_LONG|MAY_BE_DOUBLE)) == MAY_BE_DOUBLE) { in _zend_update_type_info() 2843 && (tmp & (MAY_BE_LONG|MAY_BE_DOUBLE)) == MAY_BE_DOUBLE) { in _zend_update_type_info() 2905 tmp |= MAY_BE_DOUBLE; in _zend_update_type_info() 2967 tmp |= MAY_BE_DOUBLE; in _zend_update_type_info() [all …]
|
H A D | dfa_pass.c | 333 uint32_t simple = MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE; in opline_supports_assign_contraction() 1187 if ((OP2_INFO() & MAY_BE_ANY) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array() 1202 || ((OP2_INFO() & (MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array() 1219 && (OP2_INFO() & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE))) == 0) { in zend_dfa_optimize_op_array() 1240 if ((OP1_INFO() & MAY_BE_ANY) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array() 1253 || ((OP1_INFO() & (MAY_BE_ANY|MAY_BE_UNDEF)) == MAY_BE_DOUBLE in zend_dfa_optimize_op_array() 1264 && (OP1_INFO() & ((MAY_BE_ANY|MAY_BE_UNDEF)-(MAY_BE_LONG|MAY_BE_DOUBLE))) == 0) { in zend_dfa_optimize_op_array() 1469 …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() 1483 …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_func_infos.h | 74 F1("date_sunrise", MAY_BE_STRING|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE), 75 F1("date_sunset", MAY_BE_STRING|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE), 633 F1("microtime", MAY_BE_STRING|MAY_BE_DOUBLE), 636 F1("gettimeofday", MAY_BE_ARRAY|MAY_BE_ARRAY_KEY_STRING|MAY_BE_ARRAY_OF_LONG|MAY_BE_DOUBLE),
|
H A D | zend_dump.c | 232 if (info & MAY_BE_DOUBLE) { in zend_dump_type_info()
|
/PHP-8.2/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 | 17 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL) 21 …URN_TYPE_MASK_EX(arginfo_class_NumberFormatter_parse, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE) 32 …_RETURN_TYPE_MASK_EX(arginfo_class_NumberFormatter_parseCurrency, 0, 2, MAY_BE_DOUBLE|MAY_BE_FALSE) 40 ZEND_ARG_TYPE_MASK(0, value, MAY_BE_LONG|MAY_BE_DOUBLE, NULL) 43 …E_MASK_EX(arginfo_class_NumberFormatter_getAttribute, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE)
|
/PHP-8.2/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.2/ext/opcache/jit/ |
H A D | zend_jit_x86.dasc | 4805 if (op1_info & MAY_BE_DOUBLE) { 4812 if (op2_info & MAY_BE_DOUBLE) { 4831 if (op1_info & MAY_BE_DOUBLE) { 4837 if (op2_info & MAY_BE_DOUBLE) { 4869 if (op2_info & MAY_BE_DOUBLE) { 4904 if (op1_info & MAY_BE_DOUBLE) { 7881 if (op1_info & MAY_BE_DOUBLE) { 7918 if (op2_info & MAY_BE_DOUBLE) { 7952 if (op1_info & MAY_BE_DOUBLE) { 16235 if ((op1_info & MAY_BE_DOUBLE) && (op2_info & MAY_BE_DOUBLE)) { [all …]
|
H A D | zend_jit_arm64.dasc | 4377 if (op1_info & MAY_BE_DOUBLE) { 4384 if (op2_info & MAY_BE_DOUBLE) { 4403 if (op1_info & MAY_BE_DOUBLE) { 4409 if (op2_info & MAY_BE_DOUBLE) { 4441 if (op2_info & MAY_BE_DOUBLE) { 4476 if (op1_info & MAY_BE_DOUBLE) { 7291 if (op1_info & MAY_BE_DOUBLE) { 7328 if (op2_info & MAY_BE_DOUBLE) { 7362 if (op1_info & MAY_BE_DOUBLE) { 15275 if ((op1_info & MAY_BE_DOUBLE) && (op2_info & MAY_BE_DOUBLE)) { [all …]
|
H A D | zend_jit_helpers.c | 2194 if (!(ZEND_TYPE_FULL_MASK(prop->type) & MAY_BE_DOUBLE)) { in zend_jit_get_prop_not_accepting_double() 2681 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_inc_typed_prop() 2711 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_dec_typed_prop() 2757 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_post_inc_typed_prop() 2788 if (!(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_post_dec_typed_prop() 2814 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_pre_inc_obj_helper() 2884 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_pre_dec_obj_helper() 2953 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_post_inc_obj_helper() 3014 && !(ZEND_TYPE_FULL_MASK(prop_info->type) & MAY_BE_DOUBLE)) { in zend_jit_post_dec_obj_helper()
|
H A D | zend_jit_trace.c | 1092 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard() 1105 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard() 1113 } else if (!(tssa->var_info[tssa->ops[idx].op2_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard() 1159 if (!(tssa->var_info[tssa->ops[idx].op1_use].type & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in is_checked_guard() 2918 if (!(ssa->var_info[ssa_op->result_def].type & MAY_BE_DOUBLE) in zend_jit_trace_allocate_registers() 4361 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE); in zend_jit_trace() 4425 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE); in zend_jit_trace() 4481 } else if (!(op1_info & (MAY_BE_LONG|MAY_BE_DOUBLE)) || in zend_jit_trace() 4482 !(op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in zend_jit_trace() 4497 & (MAY_BE_UNDEF|MAY_BE_NULL|MAY_BE_FALSE|MAY_BE_TRUE|MAY_BE_LONG|MAY_BE_DOUBLE); in zend_jit_trace() [all …]
|
H A D | zend_jit.c | 2064 if ((ssa->var_info[current->ssa_var].type & MAY_BE_ANY) == MAY_BE_DOUBLE) { in zend_jit_try_allocate_free_reg() 2666 return (op1_info & (MAY_BE_LONG|MAY_BE_DOUBLE)) in zend_jit_supported_binary_op() 2667 && (op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE)); in zend_jit_supported_binary_op() 2951 …(op1_info & MAY_BE_LONG) && (op1_def_info & MAY_BE_DOUBLE) && zend_may_overflow(opline, ssa_op, op… in zend_jit() 3024 } else if (!(op1_info & (MAY_BE_LONG|MAY_BE_DOUBLE)) || in zend_jit() 3025 !(op2_info & (MAY_BE_LONG|MAY_BE_DOUBLE))) { in zend_jit() 3066 …(op1_info & MAY_BE_LONG) && (op2_info & MAY_BE_LONG) && (res_info & MAY_BE_DOUBLE) && zend_may_ove… in zend_jit() 3118 …(op1_info & MAY_BE_LONG) && (op2_info & MAY_BE_LONG) && (op1_def_info & MAY_BE_DOUBLE) && zend_may… in zend_jit()
|
/PHP-8.2/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.2/ext/standard/ |
H A D | basic_functions_arginfo.h | 189 ZEND_ARG_TYPE_MASK(0, step, MAY_BE_LONG|MAY_BE_DOUBLE, "1") 326 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_array_sum, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE) 1607 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_abs, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE) 1608 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL) 1612 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL) 1618 ZEND_ARG_TYPE_MASK(0, num, MAY_BE_LONG|MAY_BE_DOUBLE, NULL) 1699 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_bindec, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE) 1703 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_hexdec, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE) 1707 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_octdec, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE) 1740 ZEND_BEGIN_ARG_WITH_RETURN_TYPE_MASK_EX(arginfo_microtime, 0, 0, MAY_BE_STRING|MAY_BE_DOUBLE) [all …]
|
/PHP-8.2/ext/intl/dateformat/ |
H A D | dateformat_arginfo.h | 73 …N_TYPE_MASK_EX(arginfo_class_IntlDateFormatter_parse, 0, 1, MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_FALSE)
|
/PHP-8.2/ext/oci8/ |
H A D | oci8_arginfo.h | 394 …_TYPE_MASK_EX(arginfo_oci_collection_element_get, 0, 2, MAY_BE_STRING|MAY_BE_DOUBLE|MAY_BE_NULL|MA… 530 …TYPE_MASK_EX(arginfo_class_OCICollection_getElem, 0, 1, MAY_BE_STRING|MAY_BE_DOUBLE|MAY_BE_NULL|MA…
|
/PHP-8.2/ext/intl/calendar/ |
H A D | calendar_arginfo.h | 94 …TENTATIVE_RETURN_TYPE_MASK_EX(arginfo_class_IntlCalendar_getTime, 0, 0, MAY_BE_DOUBLE|MAY_BE_FALSE)
|
/PHP-8.2/ext/mysqli/ |
H A D | mysqli_arginfo.h | 126 …PE_MASK_EX(arginfo_mysqli_fetch_column, 0, 1, MAY_BE_NULL|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_STRING|… 627 …ginfo_class_mysqli_result_fetch_column, 0, 0, MAY_BE_NULL|MAY_BE_LONG|MAY_BE_DOUBLE|MAY_BE_STRING|…
|
/PHP-8.2/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.2/ext/reflection/ |
H A D | php_reflection.c | 3190 if (type_mask & MAY_BE_DOUBLE) { in ZEND_METHOD() 3191 append_type_mask(return_value, MAY_BE_DOUBLE); in ZEND_METHOD()
|