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); \
1063 …_inline void ZEND_FASTCALL zend_binop_error(const char *operator, zval *op1, zval *op2) /* {{{ */ { in zend_binop_error() argument
1069 zend_zval_type_name(op1), operator, zend_zval_type_name(op2)); in zend_binop_error()
1073 static zend_never_inline void ZEND_FASTCALL add_function_array(zval *result, zval *op1, zval *op2) … in add_function_array() argument
1075 if (result == op1 && Z_ARR_P(op1) == Z_ARR_P(op2)) { in add_function_array()
1084 zend_hash_merge(Z_ARRVAL_P(result), Z_ARRVAL_P(op2), zval_add_ref, 0); in add_function_array()
1088 static zend_always_inline zend_result add_function_fast(zval *result, zval *op1, zval *op2) /* {{{ … in add_function_fast() argument
1090 uint8_t type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in add_function_fast()
1093 fast_long_add_function(result, op1, op2); in add_function_fast()
1096 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2)); in add_function_fast()
1099 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2)); in add_function_fast()
1102 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2))); in add_function_fast()
1105 add_function_array(result, op1, op2); in add_function_fast()
1112 …er_inline zend_result ZEND_FASTCALL add_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */ in add_function_slow() argument
1115 ZVAL_DEREF(op2); in add_function_slow()
1116 if (add_function_fast(result, op1, op2) == SUCCESS) { in add_function_slow()
1124 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in add_function_slow()
1125 zend_binop_error("+", op1, op2); in add_function_slow()
1144 ZEND_API zend_result ZEND_FASTCALL add_function(zval *result, zval *op1, zval *op2) /* {{{ */ in add_function() argument
1146 if (add_function_fast(result, op1, op2) == SUCCESS) { in add_function()
1149 return add_function_slow(result, op1, op2); in add_function()
1154 static zend_always_inline zend_result sub_function_fast(zval *result, zval *op1, zval *op2) /* {{{ … in sub_function_fast() argument
1156 uint8_t type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in sub_function_fast()
1159 fast_long_sub_function(result, op1, op2); in sub_function_fast()
1162 ZVAL_DOUBLE(result, Z_DVAL_P(op1) - Z_DVAL_P(op2)); in sub_function_fast()
1165 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) - Z_DVAL_P(op2)); in sub_function_fast()
1168 ZVAL_DOUBLE(result, Z_DVAL_P(op1) - ((double)Z_LVAL_P(op2))); in sub_function_fast()
1176 …er_inline zend_result ZEND_FASTCALL sub_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */ in sub_function_slow() argument
1179 ZVAL_DEREF(op2); in sub_function_slow()
1180 if (sub_function_fast(result, op1, op2) == SUCCESS) { in sub_function_slow()
1188 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in sub_function_slow()
1189 zend_binop_error("-", op1, op2); in sub_function_slow()
1209 ZEND_API zend_result ZEND_FASTCALL sub_function(zval *result, zval *op1, zval *op2) /* {{{ */ in sub_function() argument
1211 if (sub_function_fast(result, op1, op2) == SUCCESS) { in sub_function()
1214 return sub_function_slow(result, op1, op2); in sub_function()
1219 static zend_always_inline zend_result mul_function_fast(zval *result, zval *op1, zval *op2) /* {{{ … in mul_function_fast() argument
1221 uint8_t type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in mul_function_fast()
1226 Z_LVAL_P(op1), Z_LVAL_P(op2), in mul_function_fast()
1231 ZVAL_DOUBLE(result, Z_DVAL_P(op1) * Z_DVAL_P(op2)); in mul_function_fast()
1234 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) * Z_DVAL_P(op2)); in mul_function_fast()
1237 ZVAL_DOUBLE(result, Z_DVAL_P(op1) * ((double)Z_LVAL_P(op2))); in mul_function_fast()
1245 …er_inline zend_result ZEND_FASTCALL mul_function_slow(zval *result, zval *op1, zval *op2) /* {{{ */ in mul_function_slow() argument
1248 ZVAL_DEREF(op2); in mul_function_slow()
1249 if (mul_function_fast(result, op1, op2) == SUCCESS) { in mul_function_slow()
1257 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in mul_function_slow()
1258 zend_binop_error("*", op1, op2); in mul_function_slow()
1278 ZEND_API zend_result ZEND_FASTCALL mul_function(zval *result, zval *op1, zval *op2) /* {{{ */ in mul_function() argument
1280 if (mul_function_fast(result, op1, op2) == SUCCESS) { in mul_function()
1283 return mul_function_slow(result, op1, op2); in mul_function()
1302 static zend_result ZEND_FASTCALL pow_function_base(zval *result, zval *op1, zval *op2) /* {{{ */ in pow_function_base() argument
1304 uint8_t type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in pow_function_base()
1307 if (Z_LVAL_P(op2) >= 0) { in pow_function_base()
1308 zend_long l1 = 1, l2 = Z_LVAL_P(op1), i = Z_LVAL_P(op2); in pow_function_base()
1341 ZVAL_DOUBLE(result, safe_pow((double)Z_LVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function_base()
1345 ZVAL_DOUBLE(result, safe_pow(Z_DVAL_P(op1), Z_DVAL_P(op2))); in pow_function_base()
1348 ZVAL_DOUBLE(result, safe_pow((double)Z_LVAL_P(op1), Z_DVAL_P(op2))); in pow_function_base()
1351 ZVAL_DOUBLE(result, safe_pow(Z_DVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function_base()
1359 ZEND_API zend_result ZEND_FASTCALL pow_function(zval *result, zval *op1, zval *op2) /* {{{ */ in pow_function() argument
1362 ZVAL_DEREF(op2); in pow_function()
1363 if (pow_function_base(result, op1, op2) == SUCCESS) { in pow_function()
1371 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in pow_function()
1372 zend_binop_error("**", op1, op2); in pow_function()
1395 static int ZEND_FASTCALL div_function_base(zval *result, zval *op1, zval *op2) /* {{{ */ in div_function_base() argument
1397 uint8_t type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in div_function_base()
1400 if (Z_LVAL_P(op2) == 0) { in div_function_base()
1402 } else if (Z_LVAL_P(op2) == -1 && Z_LVAL_P(op1) == ZEND_LONG_MIN) { in div_function_base()
1407 if (Z_LVAL_P(op1) % Z_LVAL_P(op2) == 0) { /* integer */ in div_function_base()
1408 ZVAL_LONG(result, Z_LVAL_P(op1) / Z_LVAL_P(op2)); in div_function_base()
1410 ZVAL_DOUBLE(result, ((double) Z_LVAL_P(op1)) / Z_LVAL_P(op2)); in div_function_base()
1414 if (Z_DVAL_P(op2) == 0) { in div_function_base()
1417 ZVAL_DOUBLE(result, Z_DVAL_P(op1) / Z_DVAL_P(op2)); in div_function_base()
1420 if (Z_LVAL_P(op2) == 0) { in div_function_base()
1423 ZVAL_DOUBLE(result, Z_DVAL_P(op1) / (double)Z_LVAL_P(op2)); in div_function_base()
1426 if (Z_DVAL_P(op2) == 0) { in div_function_base()
1429 ZVAL_DOUBLE(result, (double)Z_LVAL_P(op1) / Z_DVAL_P(op2)); in div_function_base()
1437 ZEND_API zend_result ZEND_FASTCALL div_function(zval *result, zval *op1, zval *op2) /* {{{ */ in div_function() argument
1440 ZVAL_DEREF(op2); in div_function()
1442 int retval = div_function_base(result, op1, op2); in div_function()
1455 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in div_function()
1456 zend_binop_error("/", op1, op2); in div_function()
1482 ZEND_API zend_result ZEND_FASTCALL mod_function(zval *result, zval *op1, zval *op2) /* {{{ */ in mod_function() argument
1486 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_MOD, "%"); in mod_function()
1516 ZEND_API zend_result ZEND_FASTCALL boolean_xor_function(zval *result, zval *op1, zval *op2) /* {{{ … in boolean_xor_function() argument
1541 if (Z_TYPE_P(op2) == IS_FALSE) { in boolean_xor_function()
1543 } else if (EXPECTED(Z_TYPE_P(op2) == IS_TRUE)) { in boolean_xor_function()
1546 if (Z_ISREF_P(op2)) { in boolean_xor_function()
1547 op2 = Z_REFVAL_P(op2); in boolean_xor_function()
1548 if (Z_TYPE_P(op2) == IS_FALSE) { in boolean_xor_function()
1551 } else if (EXPECTED(Z_TYPE_P(op2) == IS_TRUE)) { in boolean_xor_function()
1557 op2_val = zval_is_true(op2); in boolean_xor_function()
1642 ZEND_API zend_result ZEND_FASTCALL bitwise_or_function(zval *result, zval *op1, zval *op2) /* {{{ */ in bitwise_or_function() argument
1646 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_or_function()
1647 ZVAL_LONG(result, Z_LVAL_P(op1) | Z_LVAL_P(op2)); in bitwise_or_function()
1652 ZVAL_DEREF(op2); in bitwise_or_function()
1654 if (Z_TYPE_P(op1) == IS_STRING && EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in bitwise_or_function()
1659 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_or_function()
1660 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_or_function()
1661 zend_uchar or = (zend_uchar) (*Z_STRVAL_P(op1) | *Z_STRVAL_P(op2)); in bitwise_or_function()
1669 shorter = op2; in bitwise_or_function()
1671 longer = op2; in bitwise_or_function()
1692 zend_binop_error("|", op1, op2); in bitwise_or_function()
1701 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_or_function()
1704 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_or_function()
1706 zend_binop_error("|", op1, op2); in bitwise_or_function()
1713 op2_lval = Z_LVAL_P(op2); in bitwise_or_function()
1724 ZEND_API zend_result ZEND_FASTCALL bitwise_and_function(zval *result, zval *op1, zval *op2) /* {{{ … in bitwise_and_function() argument
1728 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_and_function()
1729 ZVAL_LONG(result, Z_LVAL_P(op1) & Z_LVAL_P(op2)); in bitwise_and_function()
1734 ZVAL_DEREF(op2); in bitwise_and_function()
1736 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_and_function()
1741 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_and_function()
1742 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_and_function()
1743 zend_uchar and = (zend_uchar) (*Z_STRVAL_P(op1) & *Z_STRVAL_P(op2)); in bitwise_and_function()
1751 shorter = op2; in bitwise_and_function()
1753 longer = op2; in bitwise_and_function()
1774 zend_binop_error("&", op1, op2); in bitwise_and_function()
1783 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_and_function()
1786 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_and_function()
1788 zend_binop_error("&", op1, op2); in bitwise_and_function()
1795 op2_lval = Z_LVAL_P(op2); in bitwise_and_function()
1806 ZEND_API zend_result ZEND_FASTCALL bitwise_xor_function(zval *result, zval *op1, zval *op2) /* {{{ … in bitwise_xor_function() argument
1810 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_xor_function()
1811 ZVAL_LONG(result, Z_LVAL_P(op1) ^ Z_LVAL_P(op2)); in bitwise_xor_function()
1816 ZVAL_DEREF(op2); in bitwise_xor_function()
1818 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_xor_function()
1823 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_xor_function()
1824 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_xor_function()
1825 zend_uchar xor = (zend_uchar) (*Z_STRVAL_P(op1) ^ *Z_STRVAL_P(op2)); in bitwise_xor_function()
1833 shorter = op2; in bitwise_xor_function()
1835 longer = op2; in bitwise_xor_function()
1856 zend_binop_error("^", op1, op2); in bitwise_xor_function()
1865 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_xor_function()
1868 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_xor_function()
1870 zend_binop_error("^", op1, op2); in bitwise_xor_function()
1877 op2_lval = Z_LVAL_P(op2); in bitwise_xor_function()
1888 ZEND_API zend_result ZEND_FASTCALL shift_left_function(zval *result, zval *op1, zval *op2) /* {{{ */ in shift_left_function() argument
1892 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_SL, "<<"); in shift_left_function()
1925 ZEND_API zend_result ZEND_FASTCALL shift_right_function(zval *result, zval *op1, zval *op2) /* {{{ … in shift_right_function() argument
1929 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_SR, ">>"); in shift_right_function()
1961 ZEND_API zend_result ZEND_FASTCALL concat_function(zval *result, zval *op1, zval *op2) /* {{{ */ in concat_function() argument
1990 if (UNEXPECTED(op1 == op2)) { in concat_function()
1998 if (EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in concat_function()
1999 op2_string = Z_STR_P(op2); in concat_function()
2001 if (Z_ISREF_P(op2)) { in concat_function()
2002 op2 = Z_REFVAL_P(op2); in concat_function()
2003 if (Z_TYPE_P(op2) == IS_STRING) { in concat_function()
2004 op2_string = Z_STR_P(op2); in concat_function()
2014 op2_string = zval_get_string_func(op2); in concat_function()
2029 if (EXPECTED(result != op2 || Z_TYPE_P(result) != IS_STRING)) { in concat_function()
2112 ZEND_API int ZEND_FASTCALL string_compare_function_ex(zval *op1, zval *op2, bool case_insensitive) … in string_compare_function_ex() argument
2116 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_compare_function_ex()
2131 ZEND_API int ZEND_FASTCALL string_compare_function(zval *op1, zval *op2) /* {{{ */ in string_compare_function() argument
2134 EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in string_compare_function()
2135 if (Z_STR_P(op1) == Z_STR_P(op2)) { in string_compare_function()
2138 return zend_binary_strcmp(Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in string_compare_function()
2143 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_compare_function()
2153 ZEND_API int ZEND_FASTCALL string_case_compare_function(zval *op1, zval *op2) /* {{{ */ in string_case_compare_function() argument
2156 EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in string_case_compare_function()
2157 if (Z_STR_P(op1) == Z_STR_P(op2)) { in string_case_compare_function()
2160 … 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()
2165 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_case_compare_function()
2175 ZEND_API int ZEND_FASTCALL string_locale_compare_function(zval *op1, zval *op2) /* {{{ */ in string_locale_compare_function() argument
2179 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_locale_compare_function()
2188 ZEND_API int ZEND_FASTCALL numeric_compare_function(zval *op1, zval *op2) /* {{{ */ in numeric_compare_function() argument
2193 d2 = zval_get_double(op2); in numeric_compare_function()
2199 ZEND_API zend_result ZEND_FASTCALL compare_function(zval *result, zval *op1, zval *op2) /* {{{ */ in compare_function() argument
2201 ZVAL_LONG(result, zend_compare(op1, op2)); in compare_function()
2250 ZEND_API int ZEND_FASTCALL zend_compare(zval *op1, zval *op2) /* {{{ */ in zend_compare() argument
2256 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in zend_compare()
2258 return Z_LVAL_P(op1)>Z_LVAL_P(op2)?1:(Z_LVAL_P(op1)<Z_LVAL_P(op2)?-1:0); in zend_compare()
2261 return ZEND_THREEWAY_COMPARE(Z_DVAL_P(op1), (double)Z_LVAL_P(op2)); in zend_compare()
2264 return ZEND_THREEWAY_COMPARE((double)Z_LVAL_P(op1), Z_DVAL_P(op2)); in zend_compare()
2267 return ZEND_THREEWAY_COMPARE(Z_DVAL_P(op1), Z_DVAL_P(op2)); in zend_compare()
2270 return zend_compare_arrays(op1, op2); in zend_compare()
2286 if (Z_STR_P(op1) == Z_STR_P(op2)) { in zend_compare()
2289 return zendi_smart_strcmp(Z_STR_P(op1), Z_STR_P(op2)); in zend_compare()
2292 return Z_STRLEN_P(op2) == 0 ? 0 : -1; in zend_compare()
2298 return compare_long_to_string(Z_LVAL_P(op1), Z_STR_P(op2)); in zend_compare()
2301 return -compare_long_to_string(Z_LVAL_P(op2), Z_STR_P(op1)); in zend_compare()
2308 return compare_double_to_string(Z_DVAL_P(op1), Z_STR_P(op2)); in zend_compare()
2311 if (zend_isnan(Z_DVAL_P(op2))) { in zend_compare()
2315 return -compare_double_to_string(Z_DVAL_P(op2), Z_STR_P(op1)); in zend_compare()
2327 } else if (Z_ISREF_P(op2)) { in zend_compare()
2328 op2 = Z_REFVAL_P(op2); in zend_compare()
2333 && Z_TYPE_P(op2) == IS_OBJECT in zend_compare()
2334 && Z_OBJ_P(op1) == Z_OBJ_P(op2)) { in zend_compare()
2337 return Z_OBJ_HANDLER_P(op1, compare)(op1, op2); in zend_compare()
2338 } else if (Z_TYPE_P(op2) == IS_OBJECT) { in zend_compare()
2339 return Z_OBJ_HANDLER_P(op2, compare)(op1, op2); in zend_compare()
2344 return zval_is_true(op2) ? -1 : 0; in zend_compare()
2346 return zval_is_true(op2) ? 0 : 1; in zend_compare()
2347 } else if (Z_TYPE_P(op2) < IS_TRUE) { in zend_compare()
2349 } else if (Z_TYPE_P(op2) == IS_TRUE) { in zend_compare()
2353 op2 = _zendi_convert_scalar_to_number_silent(op2, &op2_copy); in zend_compare()
2361 } else if (Z_TYPE_P(op2)==IS_ARRAY) { in zend_compare()
2387 ZEND_API bool ZEND_FASTCALL zend_is_identical(const zval *op1, const zval *op2) /* {{{ */ in zend_is_identical() argument
2389 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in zend_is_identical()
2398 return (Z_LVAL_P(op1) == Z_LVAL_P(op2)); in zend_is_identical()
2400 return (Z_RES_P(op1) == Z_RES_P(op2)); in zend_is_identical()
2402 return (Z_DVAL_P(op1) == Z_DVAL_P(op2)); in zend_is_identical()
2404 return zend_string_equals(Z_STR_P(op1), Z_STR_P(op2)); in zend_is_identical()
2406 return (Z_ARRVAL_P(op1) == Z_ARRVAL_P(op2) || in zend_is_identical()
2407 …zend_hash_compare(Z_ARRVAL_P(op1), Z_ARRVAL_P(op2), (compare_func_t) hash_zval_identical_function,… in zend_is_identical()
2409 return (Z_OBJ_P(op1) == Z_OBJ_P(op2)); in zend_is_identical()
2416 ZEND_API zend_result ZEND_FASTCALL is_identical_function(zval *result, zval *op1, zval *op2) /* {{{… in is_identical_function() argument
2418 ZVAL_BOOL(result, zend_is_identical(op1, op2)); in is_identical_function()
2423 ZEND_API zend_result ZEND_FASTCALL is_not_identical_function(zval *result, zval *op1, zval *op2) /*… in is_not_identical_function() argument
2425 ZVAL_BOOL(result, !zend_is_identical(op1, op2)); in is_not_identical_function()
2430 ZEND_API zend_result ZEND_FASTCALL is_equal_function(zval *result, zval *op1, zval *op2) /* {{{ */ in is_equal_function() argument
2432 ZVAL_BOOL(result, zend_compare(op1, op2) == 0); in is_equal_function()
2437 ZEND_API zend_result ZEND_FASTCALL is_not_equal_function(zval *result, zval *op1, zval *op2) /* {{{… in is_not_equal_function() argument
2439 ZVAL_BOOL(result, (zend_compare(op1, op2) != 0)); in is_not_equal_function()
2444 ZEND_API zend_result ZEND_FASTCALL is_smaller_function(zval *result, zval *op1, zval *op2) /* {{{ */ in is_smaller_function() argument
2446 ZVAL_BOOL(result, (zend_compare(op1, op2) < 0)); in is_smaller_function()
2451 ZEND_API zend_result ZEND_FASTCALL is_smaller_or_equal_function(zval *result, zval *op1, zval *op2)… in is_smaller_or_equal_function() argument
2453 ZVAL_BOOL(result, (zend_compare(op1, op2) <= 0)); in is_smaller_or_equal_function()
2686 zval op2; in increment_function() local
2687 ZVAL_LONG(&op2, 1); in increment_function()
2688 if (Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_ADD, op1, op1, &op2) == SUCCESS) { in increment_function()
2793 zval op2; in decrement_function() local
2794 ZVAL_LONG(&op2, 1); in decrement_function()
2795 if (Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_SUB, op1, op1, &op2) == SUCCESS) { in decrement_function()