Lines Matching refs:op2

359 		if (EXPECTED(SUCCESS == Z_OBJ_HANDLER_P(op1, do_operation)(opcode, result, op1, op2))) { \
365 if (UNEXPECTED(Z_TYPE_P(op2) == IS_OBJECT) \
366 && UNEXPECTED(Z_OBJ_HANDLER_P(op2, do_operation)) \
367 && EXPECTED(SUCCESS == Z_OBJ_HANDLER_P(op2, do_operation)(opcode, result, op1, op2))) { \
383 #define convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, opcode, sigil) \ argument
397 zend_binop_error(sigil, op1, op2); \
408 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { \
410 if (Z_ISREF_P(op2)) { \
411 op2 = Z_REFVAL_P(op2); \
412 if (Z_TYPE_P(op2) == IS_LONG) { \
413 op2_lval = Z_LVAL_P(op2); \
418 op2_lval = zendi_try_get_long(op2, &failed); \
420 zend_binop_error(sigil, op1, op2); \
427 op2_lval = Z_LVAL_P(op2); \
956 …_inline void ZEND_FASTCALL zend_binop_error(const char *operator, zval *op1, zval *op2) /* {{{ */ { in zend_binop_error() argument
962 zend_zval_type_name(op1), operator, zend_zval_type_name(op2)); in zend_binop_error()
966 static zend_never_inline void ZEND_FASTCALL add_function_array(zval *result, zval *op1, zval *op2) … in add_function_array() argument
968 if (result == op1 && Z_ARR_P(op1) == Z_ARR_P(op2)) { in add_function_array()
977 zend_hash_merge(Z_ARRVAL_P(result), Z_ARRVAL_P(op2), zval_add_ref, 0); in add_function_array()
981 static zend_always_inline zend_result add_function_fast(zval *result, zval *op1, zval *op2) /* {{{ … in add_function_fast() argument
983 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in add_function_fast()
986 fast_long_add_function(result, op1, op2); in add_function_fast()
989 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2)); in add_function_fast()
992 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2)); in add_function_fast()
995 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2))); in add_function_fast()
998 add_function_array(result, op1, op2); in add_function_fast()
1005 …er_inline zend_result ZEND_FASTCALL add_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */ in add_function_slow() argument
1008 ZVAL_DEREF(op2); in add_function_slow()
1009 if (add_function_fast(result, op1, op2) == SUCCESS) { in add_function_slow()
1017 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in add_function_slow()
1018 zend_binop_error("+", op1, op2); in add_function_slow()
1037 ZEND_API zend_result ZEND_FASTCALL add_function(zval *result, zval *op1, zval *op2) /* {{{ */ in add_function() argument
1039 if (add_function_fast(result, op1, op2) == SUCCESS) { in add_function()
1042 return add_function_slow(result, op1, op2); in add_function()
1047 static zend_always_inline zend_result sub_function_fast(zval *result, zval *op1, zval *op2) /* {{{ … in sub_function_fast() argument
1049 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in sub_function_fast()
1052 fast_long_sub_function(result, op1, op2); in sub_function_fast()
1055 ZVAL_DOUBLE(result, Z_DVAL_P(op1) - Z_DVAL_P(op2)); in sub_function_fast()
1058 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) - Z_DVAL_P(op2)); in sub_function_fast()
1061 ZVAL_DOUBLE(result, Z_DVAL_P(op1) - ((double)Z_LVAL_P(op2))); in sub_function_fast()
1069 …er_inline zend_result ZEND_FASTCALL sub_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */ in sub_function_slow() argument
1072 ZVAL_DEREF(op2); in sub_function_slow()
1073 if (sub_function_fast(result, op1, op2) == SUCCESS) { in sub_function_slow()
1081 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in sub_function_slow()
1082 zend_binop_error("-", op1, op2); in sub_function_slow()
1102 ZEND_API zend_result ZEND_FASTCALL sub_function(zval *result, zval *op1, zval *op2) /* {{{ */ in sub_function() argument
1104 if (sub_function_fast(result, op1, op2) == SUCCESS) { in sub_function()
1107 return sub_function_slow(result, op1, op2); in sub_function()
1112 static zend_always_inline zend_result mul_function_fast(zval *result, zval *op1, zval *op2) /* {{{ … in mul_function_fast() argument
1114 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in mul_function_fast()
1119 Z_LVAL_P(op1), Z_LVAL_P(op2), in mul_function_fast()
1124 ZVAL_DOUBLE(result, Z_DVAL_P(op1) * Z_DVAL_P(op2)); in mul_function_fast()
1127 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) * Z_DVAL_P(op2)); in mul_function_fast()
1130 ZVAL_DOUBLE(result, Z_DVAL_P(op1) * ((double)Z_LVAL_P(op2))); in mul_function_fast()
1138 …er_inline zend_result ZEND_FASTCALL mul_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */ in mul_function_slow() argument
1141 ZVAL_DEREF(op2); in mul_function_slow()
1142 if (mul_function_fast(result, op1, op2) == SUCCESS) { in mul_function_slow()
1150 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in mul_function_slow()
1151 zend_binop_error("*", op1, op2); in mul_function_slow()
1171 ZEND_API zend_result ZEND_FASTCALL mul_function(zval *result, zval *op1, zval *op2) /* {{{ */ in mul_function() argument
1173 if (mul_function_fast(result, op1, op2) == SUCCESS) { in mul_function()
1176 return mul_function_slow(result, op1, op2); in mul_function()
1181 static zend_result ZEND_FASTCALL pow_function_base(zval *result, zval *op1, zval *op2) /* {{{ */ in pow_function_base() argument
1183 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in pow_function_base()
1186 if (Z_LVAL_P(op2) >= 0) { in pow_function_base()
1187 zend_long l1 = 1, l2 = Z_LVAL_P(op1), i = Z_LVAL_P(op2); in pow_function_base()
1220 ZVAL_DOUBLE(result, pow((double)Z_LVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function_base()
1224 ZVAL_DOUBLE(result, pow(Z_DVAL_P(op1), Z_DVAL_P(op2))); in pow_function_base()
1227 ZVAL_DOUBLE(result, pow((double)Z_LVAL_P(op1), Z_DVAL_P(op2))); in pow_function_base()
1230 ZVAL_DOUBLE(result, pow(Z_DVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function_base()
1238 ZEND_API zend_result ZEND_FASTCALL pow_function(zval *result, zval *op1, zval *op2) /* {{{ */ in pow_function() argument
1241 ZVAL_DEREF(op2); in pow_function()
1242 if (pow_function_base(result, op1, op2) == SUCCESS) { in pow_function()
1250 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in pow_function()
1251 zend_binop_error("**", op1, op2); in pow_function()
1274 static int ZEND_FASTCALL div_function_base(zval *result, zval *op1, zval *op2) /* {{{ */ in div_function_base() argument
1276 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in div_function_base()
1279 if (Z_LVAL_P(op2) == 0) { in div_function_base()
1281 } else if (Z_LVAL_P(op2) == -1 && Z_LVAL_P(op1) == ZEND_LONG_MIN) { in div_function_base()
1286 if (Z_LVAL_P(op1) % Z_LVAL_P(op2) == 0) { /* integer */ in div_function_base()
1287 ZVAL_LONG(result, Z_LVAL_P(op1) / Z_LVAL_P(op2)); in div_function_base()
1289 ZVAL_DOUBLE(result, ((double) Z_LVAL_P(op1)) / Z_LVAL_P(op2)); in div_function_base()
1293 if (Z_DVAL_P(op2) == 0) { in div_function_base()
1296 ZVAL_DOUBLE(result, Z_DVAL_P(op1) / Z_DVAL_P(op2)); in div_function_base()
1299 if (Z_LVAL_P(op2) == 0) { in div_function_base()
1302 ZVAL_DOUBLE(result, Z_DVAL_P(op1) / (double)Z_LVAL_P(op2)); in div_function_base()
1305 if (Z_DVAL_P(op2) == 0) { in div_function_base()
1308 ZVAL_DOUBLE(result, (double)Z_LVAL_P(op1) / Z_DVAL_P(op2)); in div_function_base()
1316 ZEND_API zend_result ZEND_FASTCALL div_function(zval *result, zval *op1, zval *op2) /* {{{ */ in div_function() argument
1319 ZVAL_DEREF(op2); in div_function()
1321 int retval = div_function_base(result, op1, op2); in div_function()
1334 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in div_function()
1335 zend_binop_error("/", op1, op2); in div_function()
1361 ZEND_API zend_result ZEND_FASTCALL mod_function(zval *result, zval *op1, zval *op2) /* {{{ */ in mod_function() argument
1365 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_MOD, "%"); in mod_function()
1395 ZEND_API zend_result ZEND_FASTCALL boolean_xor_function(zval *result, zval *op1, zval *op2) /* {{{ … in boolean_xor_function() argument
1420 if (Z_TYPE_P(op2) == IS_FALSE) { in boolean_xor_function()
1422 } else if (EXPECTED(Z_TYPE_P(op2) == IS_TRUE)) { in boolean_xor_function()
1425 if (Z_ISREF_P(op2)) { in boolean_xor_function()
1426 op2 = Z_REFVAL_P(op2); in boolean_xor_function()
1427 if (Z_TYPE_P(op2) == IS_FALSE) { in boolean_xor_function()
1430 } else if (EXPECTED(Z_TYPE_P(op2) == IS_TRUE)) { in boolean_xor_function()
1436 op2_val = zval_is_true(op2); in boolean_xor_function()
1521 ZEND_API zend_result ZEND_FASTCALL bitwise_or_function(zval *result, zval *op1, zval *op2) /* {{{ */ in bitwise_or_function() argument
1525 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_or_function()
1526 ZVAL_LONG(result, Z_LVAL_P(op1) | Z_LVAL_P(op2)); in bitwise_or_function()
1531 ZVAL_DEREF(op2); in bitwise_or_function()
1533 if (Z_TYPE_P(op1) == IS_STRING && EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in bitwise_or_function()
1538 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_or_function()
1539 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_or_function()
1540 zend_uchar or = (zend_uchar) (*Z_STRVAL_P(op1) | *Z_STRVAL_P(op2)); in bitwise_or_function()
1548 shorter = op2; in bitwise_or_function()
1550 longer = op2; in bitwise_or_function()
1571 zend_binop_error("|", op1, op2); in bitwise_or_function()
1580 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_or_function()
1583 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_or_function()
1585 zend_binop_error("|", op1, op2); in bitwise_or_function()
1592 op2_lval = Z_LVAL_P(op2); in bitwise_or_function()
1603 ZEND_API zend_result ZEND_FASTCALL bitwise_and_function(zval *result, zval *op1, zval *op2) /* {{{ … in bitwise_and_function() argument
1607 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_and_function()
1608 ZVAL_LONG(result, Z_LVAL_P(op1) & Z_LVAL_P(op2)); in bitwise_and_function()
1613 ZVAL_DEREF(op2); in bitwise_and_function()
1615 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_and_function()
1620 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_and_function()
1621 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_and_function()
1622 zend_uchar and = (zend_uchar) (*Z_STRVAL_P(op1) & *Z_STRVAL_P(op2)); in bitwise_and_function()
1630 shorter = op2; in bitwise_and_function()
1632 longer = op2; in bitwise_and_function()
1653 zend_binop_error("&", op1, op2); in bitwise_and_function()
1662 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_and_function()
1665 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_and_function()
1667 zend_binop_error("&", op1, op2); in bitwise_and_function()
1674 op2_lval = Z_LVAL_P(op2); in bitwise_and_function()
1685 ZEND_API zend_result ZEND_FASTCALL bitwise_xor_function(zval *result, zval *op1, zval *op2) /* {{{ … in bitwise_xor_function() argument
1689 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_xor_function()
1690 ZVAL_LONG(result, Z_LVAL_P(op1) ^ Z_LVAL_P(op2)); in bitwise_xor_function()
1695 ZVAL_DEREF(op2); in bitwise_xor_function()
1697 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_xor_function()
1702 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_xor_function()
1703 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_xor_function()
1704 zend_uchar xor = (zend_uchar) (*Z_STRVAL_P(op1) ^ *Z_STRVAL_P(op2)); in bitwise_xor_function()
1712 shorter = op2; in bitwise_xor_function()
1714 longer = op2; in bitwise_xor_function()
1735 zend_binop_error("^", op1, op2); in bitwise_xor_function()
1744 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_xor_function()
1747 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_xor_function()
1749 zend_binop_error("^", op1, op2); in bitwise_xor_function()
1756 op2_lval = Z_LVAL_P(op2); in bitwise_xor_function()
1767 ZEND_API zend_result ZEND_FASTCALL shift_left_function(zval *result, zval *op1, zval *op2) /* {{{ */ in shift_left_function() argument
1771 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_SL, "<<"); in shift_left_function()
1804 ZEND_API zend_result ZEND_FASTCALL shift_right_function(zval *result, zval *op1, zval *op2) /* {{{ … in shift_right_function() argument
1808 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_SR, ">>"); in shift_right_function()
1840 ZEND_API zend_result ZEND_FASTCALL concat_function(zval *result, zval *op1, zval *op2) /* {{{ */ in concat_function() argument
1864 if (UNEXPECTED(op1 == op2)) { in concat_function()
1865 op2 = &op1_copy; in concat_function()
1872 if (UNEXPECTED(Z_TYPE_P(op2) != IS_STRING)) { in concat_function()
1873 if (Z_ISREF_P(op2)) { in concat_function()
1874 op2 = Z_REFVAL_P(op2); in concat_function()
1875 if (Z_TYPE_P(op2) == IS_STRING) break; in concat_function()
1878 ZVAL_STR(&op2_copy, zval_get_string_func(op2)); in concat_function()
1887 op2 = &op2_copy; in concat_function()
1892 if (EXPECTED(result != op2)) { in concat_function()
1896 ZVAL_COPY(result, op2); in concat_function()
1898 } else if (UNEXPECTED(Z_STRLEN_P(op2) == 0)) { in concat_function()
1907 size_t op2_len = Z_STRLEN_P(op2); in concat_function()
1937 memcpy(ZSTR_VAL(result_str) + op1_len, Z_STRVAL_P(op2), op2_len); in concat_function()
1947 ZEND_API int ZEND_FASTCALL string_compare_function_ex(zval *op1, zval *op2, bool case_insensitive) … in string_compare_function_ex() argument
1951 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_compare_function_ex()
1966 ZEND_API int ZEND_FASTCALL string_compare_function(zval *op1, zval *op2) /* {{{ */ in string_compare_function() argument
1969 EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in string_compare_function()
1970 if (Z_STR_P(op1) == Z_STR_P(op2)) { in string_compare_function()
1973 return zend_binary_strcmp(Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in string_compare_function()
1978 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_compare_function()
1988 ZEND_API int ZEND_FASTCALL string_case_compare_function(zval *op1, zval *op2) /* {{{ */ in string_case_compare_function() argument
1991 EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in string_case_compare_function()
1992 if (Z_STR_P(op1) == Z_STR_P(op2)) { in string_case_compare_function()
1995 …eturn zend_binary_strcasecmp_l(Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in string_case_compare_function()
2000 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_case_compare_function()
2010 ZEND_API int ZEND_FASTCALL string_locale_compare_function(zval *op1, zval *op2) /* {{{ */ in string_locale_compare_function() argument
2014 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_locale_compare_function()
2023 ZEND_API int ZEND_FASTCALL numeric_compare_function(zval *op1, zval *op2) /* {{{ */ in numeric_compare_function() argument
2028 d2 = zval_get_double(op2); in numeric_compare_function()
2034 ZEND_API zend_result ZEND_FASTCALL compare_function(zval *result, zval *op1, zval *op2) /* {{{ */ in compare_function() argument
2036 ZVAL_LONG(result, zend_compare(op1, op2)); in compare_function()
2090 ZEND_API int ZEND_FASTCALL zend_compare(zval *op1, zval *op2) /* {{{ */ in zend_compare() argument
2096 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in zend_compare()
2098 return Z_LVAL_P(op1)>Z_LVAL_P(op2)?1:(Z_LVAL_P(op1)<Z_LVAL_P(op2)?-1:0); in zend_compare()
2101 return ZEND_NORMALIZE_BOOL(Z_DVAL_P(op1) - (double)Z_LVAL_P(op2)); in zend_compare()
2104 return ZEND_NORMALIZE_BOOL((double)Z_LVAL_P(op1) - Z_DVAL_P(op2)); in zend_compare()
2107 if (Z_DVAL_P(op1) == Z_DVAL_P(op2)) { in zend_compare()
2110 return ZEND_NORMALIZE_BOOL(Z_DVAL_P(op1) - Z_DVAL_P(op2)); in zend_compare()
2114 return zend_compare_arrays(op1, op2); in zend_compare()
2130 if (Z_STR_P(op1) == Z_STR_P(op2)) { in zend_compare()
2133 return zendi_smart_strcmp(Z_STR_P(op1), Z_STR_P(op2)); in zend_compare()
2136 return Z_STRLEN_P(op2) == 0 ? 0 : -1; in zend_compare()
2142 return compare_long_to_string(Z_LVAL_P(op1), Z_STR_P(op2)); in zend_compare()
2145 return -compare_long_to_string(Z_LVAL_P(op2), Z_STR_P(op1)); in zend_compare()
2152 return compare_double_to_string(Z_DVAL_P(op1), Z_STR_P(op2)); in zend_compare()
2155 if (zend_isnan(Z_DVAL_P(op2))) { in zend_compare()
2159 return -compare_double_to_string(Z_DVAL_P(op2), Z_STR_P(op1)); in zend_compare()
2171 } else if (Z_ISREF_P(op2)) { in zend_compare()
2172 op2 = Z_REFVAL_P(op2); in zend_compare()
2177 && Z_TYPE_P(op2) == IS_OBJECT in zend_compare()
2178 && Z_OBJ_P(op1) == Z_OBJ_P(op2)) { in zend_compare()
2181 return Z_OBJ_HANDLER_P(op1, compare)(op1, op2); in zend_compare()
2182 } else if (Z_TYPE_P(op2) == IS_OBJECT) { in zend_compare()
2183 return Z_OBJ_HANDLER_P(op2, compare)(op1, op2); in zend_compare()
2188 return zval_is_true(op2) ? -1 : 0; in zend_compare()
2190 return zval_is_true(op2) ? 0 : 1; in zend_compare()
2191 } else if (Z_TYPE_P(op2) < IS_TRUE) { in zend_compare()
2193 } else if (Z_TYPE_P(op2) == IS_TRUE) { in zend_compare()
2197 op2 = _zendi_convert_scalar_to_number_silent(op2, &op2_copy); in zend_compare()
2205 } else if (Z_TYPE_P(op2)==IS_ARRAY) { in zend_compare()
2231 ZEND_API bool ZEND_FASTCALL zend_is_identical(zval *op1, zval *op2) /* {{{ */ in zend_is_identical() argument
2233 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in zend_is_identical()
2242 return (Z_LVAL_P(op1) == Z_LVAL_P(op2)); in zend_is_identical()
2244 return (Z_RES_P(op1) == Z_RES_P(op2)); in zend_is_identical()
2246 return (Z_DVAL_P(op1) == Z_DVAL_P(op2)); in zend_is_identical()
2248 return zend_string_equals(Z_STR_P(op1), Z_STR_P(op2)); in zend_is_identical()
2250 return (Z_ARRVAL_P(op1) == Z_ARRVAL_P(op2) || in zend_is_identical()
2251 …zend_hash_compare(Z_ARRVAL_P(op1), Z_ARRVAL_P(op2), (compare_func_t) hash_zval_identical_function,… in zend_is_identical()
2253 return (Z_OBJ_P(op1) == Z_OBJ_P(op2)); in zend_is_identical()
2260 ZEND_API zend_result ZEND_FASTCALL is_identical_function(zval *result, zval *op1, zval *op2) /* {{{… in is_identical_function() argument
2262 ZVAL_BOOL(result, zend_is_identical(op1, op2)); in is_identical_function()
2267 ZEND_API zend_result ZEND_FASTCALL is_not_identical_function(zval *result, zval *op1, zval *op2) /*… in is_not_identical_function() argument
2269 ZVAL_BOOL(result, !zend_is_identical(op1, op2)); in is_not_identical_function()
2274 ZEND_API zend_result ZEND_FASTCALL is_equal_function(zval *result, zval *op1, zval *op2) /* {{{ */ in is_equal_function() argument
2276 ZVAL_BOOL(result, zend_compare(op1, op2) == 0); in is_equal_function()
2281 ZEND_API zend_result ZEND_FASTCALL is_not_equal_function(zval *result, zval *op1, zval *op2) /* {{{… in is_not_equal_function() argument
2283 ZVAL_BOOL(result, (zend_compare(op1, op2) != 0)); in is_not_equal_function()
2288 ZEND_API zend_result ZEND_FASTCALL is_smaller_function(zval *result, zval *op1, zval *op2) /* {{{ */ in is_smaller_function() argument
2290 ZVAL_BOOL(result, (zend_compare(op1, op2) < 0)); in is_smaller_function()
2295 ZEND_API zend_result ZEND_FASTCALL is_smaller_or_equal_function(zval *result, zval *op1, zval *op2)… in is_smaller_or_equal_function() argument
2297 ZVAL_BOOL(result, (zend_compare(op1, op2) <= 0)); in is_smaller_or_equal_function()
2487 zval op2; in increment_function() local
2488 ZVAL_LONG(&op2, 1); in increment_function()
2489 if (Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_ADD, op1, op1, &op2) == SUCCESS) { in increment_function()
2549 zval op2; in decrement_function() local
2550 ZVAL_LONG(&op2, 1); in decrement_function()
2551 if (Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_SUB, op1, op1, &op2) == SUCCESS) { in decrement_function()