Lines Matching refs:op2

468 		if (EXPECTED(SUCCESS == Z_OBJ_HANDLER_P(op1, do_operation)(opcode, result, op1, op2))) { \
474 if (UNEXPECTED(Z_TYPE_P(op2) == IS_OBJECT) \
475 && UNEXPECTED(Z_OBJ_HANDLER_P(op2, do_operation)) \
476 && EXPECTED(SUCCESS == Z_OBJ_HANDLER_P(op2, do_operation)(opcode, result, op1, op2))) { \
492 #define convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, opcode, sigil) \ argument
506 zend_binop_error(sigil, op1, op2); \
517 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { \
519 if (Z_ISREF_P(op2)) { \
520 op2 = Z_REFVAL_P(op2); \
521 if (Z_TYPE_P(op2) == IS_LONG) { \
522 op2_lval = Z_LVAL_P(op2); \
527 op2_lval = zendi_try_get_long(op2, &failed); \
529 zend_binop_error(sigil, op1, op2); \
536 op2_lval = Z_LVAL_P(op2); \
1065 …_inline void ZEND_FASTCALL zend_binop_error(const char *operator, zval *op1, zval *op2) /* {{{ */ { in zend_binop_error() argument
1071 zend_zval_type_name(op1), operator, zend_zval_type_name(op2)); in zend_binop_error()
1075 static zend_never_inline void ZEND_FASTCALL add_function_array(zval *result, zval *op1, zval *op2) … in add_function_array() argument
1077 if (result == op1 && Z_ARR_P(op1) == Z_ARR_P(op2)) { in add_function_array()
1086 zend_hash_merge(Z_ARRVAL_P(result), Z_ARRVAL_P(op2), zval_add_ref, 0); in add_function_array()
1090 static zend_always_inline zend_result add_function_fast(zval *result, zval *op1, zval *op2) /* {{{ … in add_function_fast() argument
1092 uint8_t type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in add_function_fast()
1095 fast_long_add_function(result, op1, op2); in add_function_fast()
1098 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2)); in add_function_fast()
1101 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2)); in add_function_fast()
1104 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2))); in add_function_fast()
1107 add_function_array(result, op1, op2); in add_function_fast()
1114 …er_inline zend_result ZEND_FASTCALL add_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */ in add_function_slow() argument
1117 ZVAL_DEREF(op2); in add_function_slow()
1118 if (add_function_fast(result, op1, op2) == SUCCESS) { in add_function_slow()
1126 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in add_function_slow()
1127 zend_binop_error("+", op1, op2); in add_function_slow()
1146 ZEND_API zend_result ZEND_FASTCALL add_function(zval *result, zval *op1, zval *op2) /* {{{ */ in add_function() argument
1148 if (add_function_fast(result, op1, op2) == SUCCESS) { in add_function()
1151 return add_function_slow(result, op1, op2); in add_function()
1156 static zend_always_inline zend_result sub_function_fast(zval *result, zval *op1, zval *op2) /* {{{ … in sub_function_fast() argument
1158 uint8_t type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in sub_function_fast()
1161 fast_long_sub_function(result, op1, op2); in sub_function_fast()
1164 ZVAL_DOUBLE(result, Z_DVAL_P(op1) - Z_DVAL_P(op2)); in sub_function_fast()
1167 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) - Z_DVAL_P(op2)); in sub_function_fast()
1170 ZVAL_DOUBLE(result, Z_DVAL_P(op1) - ((double)Z_LVAL_P(op2))); in sub_function_fast()
1178 …er_inline zend_result ZEND_FASTCALL sub_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */ in sub_function_slow() argument
1181 ZVAL_DEREF(op2); in sub_function_slow()
1182 if (sub_function_fast(result, op1, op2) == SUCCESS) { in sub_function_slow()
1190 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in sub_function_slow()
1191 zend_binop_error("-", op1, op2); in sub_function_slow()
1211 ZEND_API zend_result ZEND_FASTCALL sub_function(zval *result, zval *op1, zval *op2) /* {{{ */ in sub_function() argument
1213 if (sub_function_fast(result, op1, op2) == SUCCESS) { in sub_function()
1216 return sub_function_slow(result, op1, op2); in sub_function()
1221 static zend_always_inline zend_result mul_function_fast(zval *result, zval *op1, zval *op2) /* {{{ … in mul_function_fast() argument
1223 uint8_t type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in mul_function_fast()
1228 Z_LVAL_P(op1), Z_LVAL_P(op2), in mul_function_fast()
1233 ZVAL_DOUBLE(result, Z_DVAL_P(op1) * Z_DVAL_P(op2)); in mul_function_fast()
1236 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) * Z_DVAL_P(op2)); in mul_function_fast()
1239 ZVAL_DOUBLE(result, Z_DVAL_P(op1) * ((double)Z_LVAL_P(op2))); in mul_function_fast()
1247 …er_inline zend_result ZEND_FASTCALL mul_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */ in mul_function_slow() argument
1250 ZVAL_DEREF(op2); in mul_function_slow()
1251 if (mul_function_fast(result, op1, op2) == SUCCESS) { in mul_function_slow()
1259 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in mul_function_slow()
1260 zend_binop_error("*", op1, op2); in mul_function_slow()
1280 ZEND_API zend_result ZEND_FASTCALL mul_function(zval *result, zval *op1, zval *op2) /* {{{ */ in mul_function() argument
1282 if (mul_function_fast(result, op1, op2) == SUCCESS) { in mul_function()
1285 return mul_function_slow(result, op1, op2); in mul_function()
1290 static zend_result ZEND_FASTCALL pow_function_base(zval *result, zval *op1, zval *op2) /* {{{ */ in pow_function_base() argument
1292 uint8_t type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in pow_function_base()
1295 if (Z_LVAL_P(op2) >= 0) { in pow_function_base()
1296 zend_long l1 = 1, l2 = Z_LVAL_P(op1), i = Z_LVAL_P(op2); in pow_function_base()
1329 ZVAL_DOUBLE(result, pow((double)Z_LVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function_base()
1333 ZVAL_DOUBLE(result, pow(Z_DVAL_P(op1), Z_DVAL_P(op2))); in pow_function_base()
1336 ZVAL_DOUBLE(result, pow((double)Z_LVAL_P(op1), Z_DVAL_P(op2))); in pow_function_base()
1339 ZVAL_DOUBLE(result, pow(Z_DVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function_base()
1347 ZEND_API zend_result ZEND_FASTCALL pow_function(zval *result, zval *op1, zval *op2) /* {{{ */ in pow_function() argument
1350 ZVAL_DEREF(op2); in pow_function()
1351 if (pow_function_base(result, op1, op2) == SUCCESS) { in pow_function()
1359 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in pow_function()
1360 zend_binop_error("**", op1, op2); in pow_function()
1383 static int ZEND_FASTCALL div_function_base(zval *result, zval *op1, zval *op2) /* {{{ */ in div_function_base() argument
1385 uint8_t type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in div_function_base()
1388 if (Z_LVAL_P(op2) == 0) { in div_function_base()
1390 } else if (Z_LVAL_P(op2) == -1 && Z_LVAL_P(op1) == ZEND_LONG_MIN) { in div_function_base()
1395 if (Z_LVAL_P(op1) % Z_LVAL_P(op2) == 0) { /* integer */ in div_function_base()
1396 ZVAL_LONG(result, Z_LVAL_P(op1) / Z_LVAL_P(op2)); in div_function_base()
1398 ZVAL_DOUBLE(result, ((double) Z_LVAL_P(op1)) / Z_LVAL_P(op2)); in div_function_base()
1402 if (Z_DVAL_P(op2) == 0) { in div_function_base()
1405 ZVAL_DOUBLE(result, Z_DVAL_P(op1) / Z_DVAL_P(op2)); in div_function_base()
1408 if (Z_LVAL_P(op2) == 0) { in div_function_base()
1411 ZVAL_DOUBLE(result, Z_DVAL_P(op1) / (double)Z_LVAL_P(op2)); in div_function_base()
1414 if (Z_DVAL_P(op2) == 0) { in div_function_base()
1417 ZVAL_DOUBLE(result, (double)Z_LVAL_P(op1) / Z_DVAL_P(op2)); in div_function_base()
1425 ZEND_API zend_result ZEND_FASTCALL div_function(zval *result, zval *op1, zval *op2) /* {{{ */ in div_function() argument
1428 ZVAL_DEREF(op2); in div_function()
1430 int retval = div_function_base(result, op1, op2); in div_function()
1443 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in div_function()
1444 zend_binop_error("/", op1, op2); in div_function()
1470 ZEND_API zend_result ZEND_FASTCALL mod_function(zval *result, zval *op1, zval *op2) /* {{{ */ in mod_function() argument
1474 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_MOD, "%"); in mod_function()
1504 ZEND_API zend_result ZEND_FASTCALL boolean_xor_function(zval *result, zval *op1, zval *op2) /* {{{ … in boolean_xor_function() argument
1529 if (Z_TYPE_P(op2) == IS_FALSE) { in boolean_xor_function()
1531 } else if (EXPECTED(Z_TYPE_P(op2) == IS_TRUE)) { in boolean_xor_function()
1534 if (Z_ISREF_P(op2)) { in boolean_xor_function()
1535 op2 = Z_REFVAL_P(op2); in boolean_xor_function()
1536 if (Z_TYPE_P(op2) == IS_FALSE) { in boolean_xor_function()
1539 } else if (EXPECTED(Z_TYPE_P(op2) == IS_TRUE)) { in boolean_xor_function()
1545 op2_val = zval_is_true(op2); in boolean_xor_function()
1630 ZEND_API zend_result ZEND_FASTCALL bitwise_or_function(zval *result, zval *op1, zval *op2) /* {{{ */ in bitwise_or_function() argument
1634 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_or_function()
1635 ZVAL_LONG(result, Z_LVAL_P(op1) | Z_LVAL_P(op2)); in bitwise_or_function()
1640 ZVAL_DEREF(op2); in bitwise_or_function()
1642 if (Z_TYPE_P(op1) == IS_STRING && EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in bitwise_or_function()
1647 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_or_function()
1648 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_or_function()
1649 zend_uchar or = (zend_uchar) (*Z_STRVAL_P(op1) | *Z_STRVAL_P(op2)); in bitwise_or_function()
1657 shorter = op2; in bitwise_or_function()
1659 longer = op2; in bitwise_or_function()
1680 zend_binop_error("|", op1, op2); in bitwise_or_function()
1689 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_or_function()
1692 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_or_function()
1694 zend_binop_error("|", op1, op2); in bitwise_or_function()
1701 op2_lval = Z_LVAL_P(op2); in bitwise_or_function()
1712 ZEND_API zend_result ZEND_FASTCALL bitwise_and_function(zval *result, zval *op1, zval *op2) /* {{{ … in bitwise_and_function() argument
1716 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_and_function()
1717 ZVAL_LONG(result, Z_LVAL_P(op1) & Z_LVAL_P(op2)); in bitwise_and_function()
1722 ZVAL_DEREF(op2); in bitwise_and_function()
1724 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_and_function()
1729 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_and_function()
1730 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_and_function()
1731 zend_uchar and = (zend_uchar) (*Z_STRVAL_P(op1) & *Z_STRVAL_P(op2)); in bitwise_and_function()
1739 shorter = op2; in bitwise_and_function()
1741 longer = op2; in bitwise_and_function()
1762 zend_binop_error("&", op1, op2); in bitwise_and_function()
1771 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_and_function()
1774 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_and_function()
1776 zend_binop_error("&", op1, op2); in bitwise_and_function()
1783 op2_lval = Z_LVAL_P(op2); in bitwise_and_function()
1794 ZEND_API zend_result ZEND_FASTCALL bitwise_xor_function(zval *result, zval *op1, zval *op2) /* {{{ … in bitwise_xor_function() argument
1798 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_xor_function()
1799 ZVAL_LONG(result, Z_LVAL_P(op1) ^ Z_LVAL_P(op2)); in bitwise_xor_function()
1804 ZVAL_DEREF(op2); in bitwise_xor_function()
1806 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_xor_function()
1811 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_xor_function()
1812 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_xor_function()
1813 zend_uchar xor = (zend_uchar) (*Z_STRVAL_P(op1) ^ *Z_STRVAL_P(op2)); in bitwise_xor_function()
1821 shorter = op2; in bitwise_xor_function()
1823 longer = op2; in bitwise_xor_function()
1844 zend_binop_error("^", op1, op2); in bitwise_xor_function()
1853 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_xor_function()
1856 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_xor_function()
1858 zend_binop_error("^", op1, op2); in bitwise_xor_function()
1865 op2_lval = Z_LVAL_P(op2); in bitwise_xor_function()
1876 ZEND_API zend_result ZEND_FASTCALL shift_left_function(zval *result, zval *op1, zval *op2) /* {{{ */ in shift_left_function() argument
1880 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_SL, "<<"); in shift_left_function()
1913 ZEND_API zend_result ZEND_FASTCALL shift_right_function(zval *result, zval *op1, zval *op2) /* {{{ … in shift_right_function() argument
1917 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_SR, ">>"); in shift_right_function()
1949 ZEND_API zend_result ZEND_FASTCALL concat_function(zval *result, zval *op1, zval *op2) /* {{{ */ in concat_function() argument
1978 if (UNEXPECTED(op1 == op2)) { in concat_function()
1986 if (EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in concat_function()
1987 op2_string = Z_STR_P(op2); in concat_function()
1989 if (Z_ISREF_P(op2)) { in concat_function()
1990 op2 = Z_REFVAL_P(op2); in concat_function()
1991 if (Z_TYPE_P(op2) == IS_STRING) { in concat_function()
1992 op2_string = Z_STR_P(op2); in concat_function()
2002 op2_string = zval_get_string_func(op2); in concat_function()
2017 if (EXPECTED(result != op2 || Z_TYPE_P(result) != IS_STRING)) { in concat_function()
2100 ZEND_API int ZEND_FASTCALL string_compare_function_ex(zval *op1, zval *op2, bool case_insensitive) … in string_compare_function_ex() argument
2104 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_compare_function_ex()
2119 ZEND_API int ZEND_FASTCALL string_compare_function(zval *op1, zval *op2) /* {{{ */ in string_compare_function() argument
2122 EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in string_compare_function()
2123 if (Z_STR_P(op1) == Z_STR_P(op2)) { in string_compare_function()
2126 return zend_binary_strcmp(Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in string_compare_function()
2131 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_compare_function()
2141 ZEND_API int ZEND_FASTCALL string_case_compare_function(zval *op1, zval *op2) /* {{{ */ in string_case_compare_function() argument
2144 EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in string_case_compare_function()
2145 if (Z_STR_P(op1) == Z_STR_P(op2)) { in string_case_compare_function()
2148 … return zend_binary_strcasecmp(Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in string_case_compare_function()
2153 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_case_compare_function()
2163 ZEND_API int ZEND_FASTCALL string_locale_compare_function(zval *op1, zval *op2) /* {{{ */ in string_locale_compare_function() argument
2167 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_locale_compare_function()
2176 ZEND_API int ZEND_FASTCALL numeric_compare_function(zval *op1, zval *op2) /* {{{ */ in numeric_compare_function() argument
2181 d2 = zval_get_double(op2); in numeric_compare_function()
2187 ZEND_API zend_result ZEND_FASTCALL compare_function(zval *result, zval *op1, zval *op2) /* {{{ */ in compare_function() argument
2189 ZVAL_LONG(result, zend_compare(op1, op2)); in compare_function()
2238 ZEND_API int ZEND_FASTCALL zend_compare(zval *op1, zval *op2) /* {{{ */ in zend_compare() argument
2244 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in zend_compare()
2246 return Z_LVAL_P(op1)>Z_LVAL_P(op2)?1:(Z_LVAL_P(op1)<Z_LVAL_P(op2)?-1:0); in zend_compare()
2249 return ZEND_THREEWAY_COMPARE(Z_DVAL_P(op1), (double)Z_LVAL_P(op2)); in zend_compare()
2252 return ZEND_THREEWAY_COMPARE((double)Z_LVAL_P(op1), Z_DVAL_P(op2)); in zend_compare()
2255 return ZEND_THREEWAY_COMPARE(Z_DVAL_P(op1), Z_DVAL_P(op2)); in zend_compare()
2258 return zend_compare_arrays(op1, op2); in zend_compare()
2274 if (Z_STR_P(op1) == Z_STR_P(op2)) { in zend_compare()
2277 return zendi_smart_strcmp(Z_STR_P(op1), Z_STR_P(op2)); in zend_compare()
2280 return Z_STRLEN_P(op2) == 0 ? 0 : -1; in zend_compare()
2286 return compare_long_to_string(Z_LVAL_P(op1), Z_STR_P(op2)); in zend_compare()
2289 return -compare_long_to_string(Z_LVAL_P(op2), Z_STR_P(op1)); in zend_compare()
2296 return compare_double_to_string(Z_DVAL_P(op1), Z_STR_P(op2)); in zend_compare()
2299 if (zend_isnan(Z_DVAL_P(op2))) { in zend_compare()
2303 return -compare_double_to_string(Z_DVAL_P(op2), Z_STR_P(op1)); in zend_compare()
2315 } else if (Z_ISREF_P(op2)) { in zend_compare()
2316 op2 = Z_REFVAL_P(op2); in zend_compare()
2321 && Z_TYPE_P(op2) == IS_OBJECT in zend_compare()
2322 && Z_OBJ_P(op1) == Z_OBJ_P(op2)) { in zend_compare()
2325 return Z_OBJ_HANDLER_P(op1, compare)(op1, op2); in zend_compare()
2326 } else if (Z_TYPE_P(op2) == IS_OBJECT) { in zend_compare()
2327 return Z_OBJ_HANDLER_P(op2, compare)(op1, op2); in zend_compare()
2332 return zval_is_true(op2) ? -1 : 0; in zend_compare()
2334 return zval_is_true(op2) ? 0 : 1; in zend_compare()
2335 } else if (Z_TYPE_P(op2) < IS_TRUE) { in zend_compare()
2337 } else if (Z_TYPE_P(op2) == IS_TRUE) { in zend_compare()
2341 op2 = _zendi_convert_scalar_to_number_silent(op2, &op2_copy); in zend_compare()
2349 } else if (Z_TYPE_P(op2)==IS_ARRAY) { in zend_compare()
2375 ZEND_API bool ZEND_FASTCALL zend_is_identical(const zval *op1, const zval *op2) /* {{{ */ in zend_is_identical() argument
2377 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in zend_is_identical()
2386 return (Z_LVAL_P(op1) == Z_LVAL_P(op2)); in zend_is_identical()
2388 return (Z_RES_P(op1) == Z_RES_P(op2)); in zend_is_identical()
2390 return (Z_DVAL_P(op1) == Z_DVAL_P(op2)); in zend_is_identical()
2392 return zend_string_equals(Z_STR_P(op1), Z_STR_P(op2)); in zend_is_identical()
2394 return (Z_ARRVAL_P(op1) == Z_ARRVAL_P(op2) || in zend_is_identical()
2395 …zend_hash_compare(Z_ARRVAL_P(op1), Z_ARRVAL_P(op2), (compare_func_t) hash_zval_identical_function,… in zend_is_identical()
2397 return (Z_OBJ_P(op1) == Z_OBJ_P(op2)); in zend_is_identical()
2404 ZEND_API zend_result ZEND_FASTCALL is_identical_function(zval *result, zval *op1, zval *op2) /* {{{… in is_identical_function() argument
2406 ZVAL_BOOL(result, zend_is_identical(op1, op2)); in is_identical_function()
2411 ZEND_API zend_result ZEND_FASTCALL is_not_identical_function(zval *result, zval *op1, zval *op2) /*… in is_not_identical_function() argument
2413 ZVAL_BOOL(result, !zend_is_identical(op1, op2)); in is_not_identical_function()
2418 ZEND_API zend_result ZEND_FASTCALL is_equal_function(zval *result, zval *op1, zval *op2) /* {{{ */ in is_equal_function() argument
2420 ZVAL_BOOL(result, zend_compare(op1, op2) == 0); in is_equal_function()
2425 ZEND_API zend_result ZEND_FASTCALL is_not_equal_function(zval *result, zval *op1, zval *op2) /* {{{… in is_not_equal_function() argument
2427 ZVAL_BOOL(result, (zend_compare(op1, op2) != 0)); in is_not_equal_function()
2432 ZEND_API zend_result ZEND_FASTCALL is_smaller_function(zval *result, zval *op1, zval *op2) /* {{{ */ in is_smaller_function() argument
2434 ZVAL_BOOL(result, (zend_compare(op1, op2) < 0)); in is_smaller_function()
2439 ZEND_API zend_result ZEND_FASTCALL is_smaller_or_equal_function(zval *result, zval *op1, zval *op2)… in is_smaller_or_equal_function() argument
2441 ZVAL_BOOL(result, (zend_compare(op1, op2) <= 0)); in is_smaller_or_equal_function()
2674 zval op2; in increment_function() local
2675 ZVAL_LONG(&op2, 1); in increment_function()
2676 if (Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_ADD, op1, op1, &op2) == SUCCESS) { in increment_function()
2781 zval op2; in decrement_function() local
2782 ZVAL_LONG(&op2, 1); in decrement_function()
2783 if (Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_SUB, op1, op1, &op2) == SUCCESS) { in decrement_function()