Lines Matching refs:op2

409 		if (EXPECTED(SUCCESS == Z_OBJ_HANDLER_P(op1, do_operation)(opcode, result, op1, op2))) { \
415 if (UNEXPECTED(Z_TYPE_P(op2) == IS_OBJECT) \
416 && UNEXPECTED(Z_OBJ_HANDLER_P(op2, do_operation)) \
417 && EXPECTED(SUCCESS == Z_OBJ_HANDLER_P(op2, do_operation)(opcode, result, op1, op2))) { \
433 #define convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, opcode, sigil) \ argument
447 zend_binop_error(sigil, op1, op2); \
458 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { \
460 if (Z_ISREF_P(op2)) { \
461 op2 = Z_REFVAL_P(op2); \
462 if (Z_TYPE_P(op2) == IS_LONG) { \
463 op2_lval = Z_LVAL_P(op2); \
468 op2_lval = zendi_try_get_long(op2, &failed); \
470 zend_binop_error(sigil, op1, op2); \
477 op2_lval = Z_LVAL_P(op2); \
1006 …_inline void ZEND_FASTCALL zend_binop_error(const char *operator, zval *op1, zval *op2) /* {{{ */ { in zend_binop_error() argument
1012 zend_zval_type_name(op1), operator, zend_zval_type_name(op2)); in zend_binop_error()
1016 static zend_never_inline void ZEND_FASTCALL add_function_array(zval *result, zval *op1, zval *op2) … in add_function_array() argument
1018 if (result == op1 && Z_ARR_P(op1) == Z_ARR_P(op2)) { in add_function_array()
1027 zend_hash_merge(Z_ARRVAL_P(result), Z_ARRVAL_P(op2), zval_add_ref, 0); in add_function_array()
1031 static zend_always_inline zend_result add_function_fast(zval *result, zval *op1, zval *op2) /* {{{ … in add_function_fast() argument
1033 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in add_function_fast()
1036 fast_long_add_function(result, op1, op2); in add_function_fast()
1039 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2)); in add_function_fast()
1042 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2)); in add_function_fast()
1045 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2))); in add_function_fast()
1048 add_function_array(result, op1, op2); in add_function_fast()
1055 …er_inline zend_result ZEND_FASTCALL add_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */ in add_function_slow() argument
1058 ZVAL_DEREF(op2); in add_function_slow()
1059 if (add_function_fast(result, op1, op2) == SUCCESS) { in add_function_slow()
1067 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in add_function_slow()
1068 zend_binop_error("+", op1, op2); in add_function_slow()
1087 ZEND_API zend_result ZEND_FASTCALL add_function(zval *result, zval *op1, zval *op2) /* {{{ */ in add_function() argument
1089 if (add_function_fast(result, op1, op2) == SUCCESS) { in add_function()
1092 return add_function_slow(result, op1, op2); in add_function()
1097 static zend_always_inline zend_result sub_function_fast(zval *result, zval *op1, zval *op2) /* {{{ … in sub_function_fast() argument
1099 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in sub_function_fast()
1102 fast_long_sub_function(result, op1, op2); in sub_function_fast()
1105 ZVAL_DOUBLE(result, Z_DVAL_P(op1) - Z_DVAL_P(op2)); in sub_function_fast()
1108 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) - Z_DVAL_P(op2)); in sub_function_fast()
1111 ZVAL_DOUBLE(result, Z_DVAL_P(op1) - ((double)Z_LVAL_P(op2))); in sub_function_fast()
1119 …er_inline zend_result ZEND_FASTCALL sub_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */ in sub_function_slow() argument
1122 ZVAL_DEREF(op2); in sub_function_slow()
1123 if (sub_function_fast(result, op1, op2) == SUCCESS) { in sub_function_slow()
1131 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in sub_function_slow()
1132 zend_binop_error("-", op1, op2); in sub_function_slow()
1152 ZEND_API zend_result ZEND_FASTCALL sub_function(zval *result, zval *op1, zval *op2) /* {{{ */ in sub_function() argument
1154 if (sub_function_fast(result, op1, op2) == SUCCESS) { in sub_function()
1157 return sub_function_slow(result, op1, op2); in sub_function()
1162 static zend_always_inline zend_result mul_function_fast(zval *result, zval *op1, zval *op2) /* {{{ … in mul_function_fast() argument
1164 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in mul_function_fast()
1169 Z_LVAL_P(op1), Z_LVAL_P(op2), in mul_function_fast()
1174 ZVAL_DOUBLE(result, Z_DVAL_P(op1) * Z_DVAL_P(op2)); in mul_function_fast()
1177 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) * Z_DVAL_P(op2)); in mul_function_fast()
1180 ZVAL_DOUBLE(result, Z_DVAL_P(op1) * ((double)Z_LVAL_P(op2))); in mul_function_fast()
1188 …er_inline zend_result ZEND_FASTCALL mul_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */ in mul_function_slow() argument
1191 ZVAL_DEREF(op2); in mul_function_slow()
1192 if (mul_function_fast(result, op1, op2) == SUCCESS) { in mul_function_slow()
1200 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in mul_function_slow()
1201 zend_binop_error("*", op1, op2); in mul_function_slow()
1221 ZEND_API zend_result ZEND_FASTCALL mul_function(zval *result, zval *op1, zval *op2) /* {{{ */ in mul_function() argument
1223 if (mul_function_fast(result, op1, op2) == SUCCESS) { in mul_function()
1226 return mul_function_slow(result, op1, op2); in mul_function()
1231 static zend_result ZEND_FASTCALL pow_function_base(zval *result, zval *op1, zval *op2) /* {{{ */ in pow_function_base() argument
1233 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in pow_function_base()
1236 if (Z_LVAL_P(op2) >= 0) { in pow_function_base()
1237 zend_long l1 = 1, l2 = Z_LVAL_P(op1), i = Z_LVAL_P(op2); in pow_function_base()
1270 ZVAL_DOUBLE(result, pow((double)Z_LVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function_base()
1274 ZVAL_DOUBLE(result, pow(Z_DVAL_P(op1), Z_DVAL_P(op2))); in pow_function_base()
1277 ZVAL_DOUBLE(result, pow((double)Z_LVAL_P(op1), Z_DVAL_P(op2))); in pow_function_base()
1280 ZVAL_DOUBLE(result, pow(Z_DVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function_base()
1288 ZEND_API zend_result ZEND_FASTCALL pow_function(zval *result, zval *op1, zval *op2) /* {{{ */ in pow_function() argument
1291 ZVAL_DEREF(op2); in pow_function()
1292 if (pow_function_base(result, op1, op2) == SUCCESS) { in pow_function()
1300 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in pow_function()
1301 zend_binop_error("**", op1, op2); in pow_function()
1324 static int ZEND_FASTCALL div_function_base(zval *result, zval *op1, zval *op2) /* {{{ */ in div_function_base() argument
1326 zend_uchar type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in div_function_base()
1329 if (Z_LVAL_P(op2) == 0) { in div_function_base()
1331 } else if (Z_LVAL_P(op2) == -1 && Z_LVAL_P(op1) == ZEND_LONG_MIN) { in div_function_base()
1336 if (Z_LVAL_P(op1) % Z_LVAL_P(op2) == 0) { /* integer */ in div_function_base()
1337 ZVAL_LONG(result, Z_LVAL_P(op1) / Z_LVAL_P(op2)); in div_function_base()
1339 ZVAL_DOUBLE(result, ((double) Z_LVAL_P(op1)) / Z_LVAL_P(op2)); in div_function_base()
1343 if (Z_DVAL_P(op2) == 0) { in div_function_base()
1346 ZVAL_DOUBLE(result, Z_DVAL_P(op1) / Z_DVAL_P(op2)); in div_function_base()
1349 if (Z_LVAL_P(op2) == 0) { in div_function_base()
1352 ZVAL_DOUBLE(result, Z_DVAL_P(op1) / (double)Z_LVAL_P(op2)); in div_function_base()
1355 if (Z_DVAL_P(op2) == 0) { in div_function_base()
1358 ZVAL_DOUBLE(result, (double)Z_LVAL_P(op1) / Z_DVAL_P(op2)); in div_function_base()
1366 ZEND_API zend_result ZEND_FASTCALL div_function(zval *result, zval *op1, zval *op2) /* {{{ */ in div_function() argument
1369 ZVAL_DEREF(op2); in div_function()
1371 int retval = div_function_base(result, op1, op2); in div_function()
1384 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in div_function()
1385 zend_binop_error("/", op1, op2); in div_function()
1411 ZEND_API zend_result ZEND_FASTCALL mod_function(zval *result, zval *op1, zval *op2) /* {{{ */ in mod_function() argument
1415 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_MOD, "%"); in mod_function()
1445 ZEND_API zend_result ZEND_FASTCALL boolean_xor_function(zval *result, zval *op1, zval *op2) /* {{{ … in boolean_xor_function() argument
1470 if (Z_TYPE_P(op2) == IS_FALSE) { in boolean_xor_function()
1472 } else if (EXPECTED(Z_TYPE_P(op2) == IS_TRUE)) { in boolean_xor_function()
1475 if (Z_ISREF_P(op2)) { in boolean_xor_function()
1476 op2 = Z_REFVAL_P(op2); in boolean_xor_function()
1477 if (Z_TYPE_P(op2) == IS_FALSE) { in boolean_xor_function()
1480 } else if (EXPECTED(Z_TYPE_P(op2) == IS_TRUE)) { in boolean_xor_function()
1486 op2_val = zval_is_true(op2); in boolean_xor_function()
1571 ZEND_API zend_result ZEND_FASTCALL bitwise_or_function(zval *result, zval *op1, zval *op2) /* {{{ */ in bitwise_or_function() argument
1575 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_or_function()
1576 ZVAL_LONG(result, Z_LVAL_P(op1) | Z_LVAL_P(op2)); in bitwise_or_function()
1581 ZVAL_DEREF(op2); in bitwise_or_function()
1583 if (Z_TYPE_P(op1) == IS_STRING && EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in bitwise_or_function()
1588 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_or_function()
1589 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_or_function()
1590 zend_uchar or = (zend_uchar) (*Z_STRVAL_P(op1) | *Z_STRVAL_P(op2)); in bitwise_or_function()
1598 shorter = op2; in bitwise_or_function()
1600 longer = op2; in bitwise_or_function()
1621 zend_binop_error("|", op1, op2); in bitwise_or_function()
1630 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_or_function()
1633 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_or_function()
1635 zend_binop_error("|", op1, op2); in bitwise_or_function()
1642 op2_lval = Z_LVAL_P(op2); in bitwise_or_function()
1653 ZEND_API zend_result ZEND_FASTCALL bitwise_and_function(zval *result, zval *op1, zval *op2) /* {{{ … in bitwise_and_function() argument
1657 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_and_function()
1658 ZVAL_LONG(result, Z_LVAL_P(op1) & Z_LVAL_P(op2)); in bitwise_and_function()
1663 ZVAL_DEREF(op2); in bitwise_and_function()
1665 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_and_function()
1670 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_and_function()
1671 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_and_function()
1672 zend_uchar and = (zend_uchar) (*Z_STRVAL_P(op1) & *Z_STRVAL_P(op2)); in bitwise_and_function()
1680 shorter = op2; in bitwise_and_function()
1682 longer = op2; in bitwise_and_function()
1703 zend_binop_error("&", op1, op2); in bitwise_and_function()
1712 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_and_function()
1715 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_and_function()
1717 zend_binop_error("&", op1, op2); in bitwise_and_function()
1724 op2_lval = Z_LVAL_P(op2); in bitwise_and_function()
1735 ZEND_API zend_result ZEND_FASTCALL bitwise_xor_function(zval *result, zval *op1, zval *op2) /* {{{ … in bitwise_xor_function() argument
1739 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_xor_function()
1740 ZVAL_LONG(result, Z_LVAL_P(op1) ^ Z_LVAL_P(op2)); in bitwise_xor_function()
1745 ZVAL_DEREF(op2); in bitwise_xor_function()
1747 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_xor_function()
1752 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_xor_function()
1753 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_xor_function()
1754 zend_uchar xor = (zend_uchar) (*Z_STRVAL_P(op1) ^ *Z_STRVAL_P(op2)); in bitwise_xor_function()
1762 shorter = op2; in bitwise_xor_function()
1764 longer = op2; in bitwise_xor_function()
1785 zend_binop_error("^", op1, op2); in bitwise_xor_function()
1794 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_xor_function()
1797 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_xor_function()
1799 zend_binop_error("^", op1, op2); in bitwise_xor_function()
1806 op2_lval = Z_LVAL_P(op2); in bitwise_xor_function()
1817 ZEND_API zend_result ZEND_FASTCALL shift_left_function(zval *result, zval *op1, zval *op2) /* {{{ */ in shift_left_function() argument
1821 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_SL, "<<"); in shift_left_function()
1854 ZEND_API zend_result ZEND_FASTCALL shift_right_function(zval *result, zval *op1, zval *op2) /* {{{ … in shift_right_function() argument
1858 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_SR, ">>"); in shift_right_function()
1890 ZEND_API zend_result ZEND_FASTCALL concat_function(zval *result, zval *op1, zval *op2) /* {{{ */ in concat_function() argument
1914 if (UNEXPECTED(op1 == op2)) { in concat_function()
1915 op2 = &op1_copy; in concat_function()
1922 if (UNEXPECTED(Z_TYPE_P(op2) != IS_STRING)) { in concat_function()
1923 if (Z_ISREF_P(op2)) { in concat_function()
1924 op2 = Z_REFVAL_P(op2); in concat_function()
1925 if (Z_TYPE_P(op2) == IS_STRING) break; in concat_function()
1928 ZVAL_STR(&op2_copy, zval_get_string_func(op2)); in concat_function()
1937 op2 = &op2_copy; in concat_function()
1942 if (EXPECTED(result != op2)) { in concat_function()
1946 ZVAL_COPY(result, op2); in concat_function()
1948 } else if (UNEXPECTED(Z_STRLEN_P(op2) == 0)) { in concat_function()
1957 size_t op2_len = Z_STRLEN_P(op2); in concat_function()
1987 memcpy(ZSTR_VAL(result_str) + op1_len, Z_STRVAL_P(op2), op2_len); in concat_function()
1997 ZEND_API int ZEND_FASTCALL string_compare_function_ex(zval *op1, zval *op2, bool case_insensitive) … in string_compare_function_ex() argument
2001 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_compare_function_ex()
2016 ZEND_API int ZEND_FASTCALL string_compare_function(zval *op1, zval *op2) /* {{{ */ in string_compare_function() argument
2019 EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in string_compare_function()
2020 if (Z_STR_P(op1) == Z_STR_P(op2)) { in string_compare_function()
2023 return zend_binary_strcmp(Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in string_compare_function()
2028 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_compare_function()
2038 ZEND_API int ZEND_FASTCALL string_case_compare_function(zval *op1, zval *op2) /* {{{ */ in string_case_compare_function() argument
2041 EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in string_case_compare_function()
2042 if (Z_STR_P(op1) == Z_STR_P(op2)) { in string_case_compare_function()
2045 … 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()
2050 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_case_compare_function()
2060 ZEND_API int ZEND_FASTCALL string_locale_compare_function(zval *op1, zval *op2) /* {{{ */ in string_locale_compare_function() argument
2064 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_locale_compare_function()
2073 ZEND_API int ZEND_FASTCALL numeric_compare_function(zval *op1, zval *op2) /* {{{ */ in numeric_compare_function() argument
2078 d2 = zval_get_double(op2); in numeric_compare_function()
2084 ZEND_API zend_result ZEND_FASTCALL compare_function(zval *result, zval *op1, zval *op2) /* {{{ */ in compare_function() argument
2086 ZVAL_LONG(result, zend_compare(op1, op2)); in compare_function()
2140 ZEND_API int ZEND_FASTCALL zend_compare(zval *op1, zval *op2) /* {{{ */ in zend_compare() argument
2146 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in zend_compare()
2148 return Z_LVAL_P(op1)>Z_LVAL_P(op2)?1:(Z_LVAL_P(op1)<Z_LVAL_P(op2)?-1:0); in zend_compare()
2151 return ZEND_NORMALIZE_BOOL(Z_DVAL_P(op1) - (double)Z_LVAL_P(op2)); in zend_compare()
2154 return ZEND_NORMALIZE_BOOL((double)Z_LVAL_P(op1) - Z_DVAL_P(op2)); in zend_compare()
2157 if (Z_DVAL_P(op1) == Z_DVAL_P(op2)) { in zend_compare()
2160 return ZEND_NORMALIZE_BOOL(Z_DVAL_P(op1) - Z_DVAL_P(op2)); in zend_compare()
2164 return zend_compare_arrays(op1, op2); in zend_compare()
2180 if (Z_STR_P(op1) == Z_STR_P(op2)) { in zend_compare()
2183 return zendi_smart_strcmp(Z_STR_P(op1), Z_STR_P(op2)); in zend_compare()
2186 return Z_STRLEN_P(op2) == 0 ? 0 : -1; in zend_compare()
2192 return compare_long_to_string(Z_LVAL_P(op1), Z_STR_P(op2)); in zend_compare()
2195 return -compare_long_to_string(Z_LVAL_P(op2), Z_STR_P(op1)); in zend_compare()
2202 return compare_double_to_string(Z_DVAL_P(op1), Z_STR_P(op2)); in zend_compare()
2205 if (zend_isnan(Z_DVAL_P(op2))) { in zend_compare()
2209 return -compare_double_to_string(Z_DVAL_P(op2), Z_STR_P(op1)); in zend_compare()
2221 } else if (Z_ISREF_P(op2)) { in zend_compare()
2222 op2 = Z_REFVAL_P(op2); in zend_compare()
2227 && Z_TYPE_P(op2) == IS_OBJECT in zend_compare()
2228 && Z_OBJ_P(op1) == Z_OBJ_P(op2)) { in zend_compare()
2231 return Z_OBJ_HANDLER_P(op1, compare)(op1, op2); in zend_compare()
2232 } else if (Z_TYPE_P(op2) == IS_OBJECT) { in zend_compare()
2233 return Z_OBJ_HANDLER_P(op2, compare)(op1, op2); in zend_compare()
2238 return zval_is_true(op2) ? -1 : 0; in zend_compare()
2240 return zval_is_true(op2) ? 0 : 1; in zend_compare()
2241 } else if (Z_TYPE_P(op2) < IS_TRUE) { in zend_compare()
2243 } else if (Z_TYPE_P(op2) == IS_TRUE) { in zend_compare()
2247 op2 = _zendi_convert_scalar_to_number_silent(op2, &op2_copy); in zend_compare()
2255 } else if (Z_TYPE_P(op2)==IS_ARRAY) { in zend_compare()
2281 ZEND_API bool ZEND_FASTCALL zend_is_identical(zval *op1, zval *op2) /* {{{ */ in zend_is_identical() argument
2283 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in zend_is_identical()
2292 return (Z_LVAL_P(op1) == Z_LVAL_P(op2)); in zend_is_identical()
2294 return (Z_RES_P(op1) == Z_RES_P(op2)); in zend_is_identical()
2296 return (Z_DVAL_P(op1) == Z_DVAL_P(op2)); in zend_is_identical()
2298 return zend_string_equals(Z_STR_P(op1), Z_STR_P(op2)); in zend_is_identical()
2300 return (Z_ARRVAL_P(op1) == Z_ARRVAL_P(op2) || in zend_is_identical()
2301 …zend_hash_compare(Z_ARRVAL_P(op1), Z_ARRVAL_P(op2), (compare_func_t) hash_zval_identical_function,… in zend_is_identical()
2303 return (Z_OBJ_P(op1) == Z_OBJ_P(op2)); in zend_is_identical()
2310 ZEND_API zend_result ZEND_FASTCALL is_identical_function(zval *result, zval *op1, zval *op2) /* {{{… in is_identical_function() argument
2312 ZVAL_BOOL(result, zend_is_identical(op1, op2)); in is_identical_function()
2317 ZEND_API zend_result ZEND_FASTCALL is_not_identical_function(zval *result, zval *op1, zval *op2) /*… in is_not_identical_function() argument
2319 ZVAL_BOOL(result, !zend_is_identical(op1, op2)); in is_not_identical_function()
2324 ZEND_API zend_result ZEND_FASTCALL is_equal_function(zval *result, zval *op1, zval *op2) /* {{{ */ in is_equal_function() argument
2326 ZVAL_BOOL(result, zend_compare(op1, op2) == 0); in is_equal_function()
2331 ZEND_API zend_result ZEND_FASTCALL is_not_equal_function(zval *result, zval *op1, zval *op2) /* {{{… in is_not_equal_function() argument
2333 ZVAL_BOOL(result, (zend_compare(op1, op2) != 0)); in is_not_equal_function()
2338 ZEND_API zend_result ZEND_FASTCALL is_smaller_function(zval *result, zval *op1, zval *op2) /* {{{ */ in is_smaller_function() argument
2340 ZVAL_BOOL(result, (zend_compare(op1, op2) < 0)); in is_smaller_function()
2345 ZEND_API zend_result ZEND_FASTCALL is_smaller_or_equal_function(zval *result, zval *op1, zval *op2)… in is_smaller_or_equal_function() argument
2347 ZVAL_BOOL(result, (zend_compare(op1, op2) <= 0)); in is_smaller_or_equal_function()
2537 zval op2; in increment_function() local
2538 ZVAL_LONG(&op2, 1); in increment_function()
2539 if (Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_ADD, op1, op1, &op2) == SUCCESS) { in increment_function()
2599 zval op2; in decrement_function() local
2600 ZVAL_LONG(&op2, 1); in decrement_function()
2601 if (Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_SUB, op1, op1, &op2) == SUCCESS) { in decrement_function()