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()
1398 …iv_status ZEND_FASTCALL div_function_base(zval *result, const zval *op1, const zval *op2) /* {{{ */ in div_function_base() argument
1400 uint8_t type_pair = TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2)); in div_function_base()
1403 if (Z_LVAL_P(op2) == 0) { in div_function_base()
1405 } else if (Z_LVAL_P(op2) == -1 && Z_LVAL_P(op1) == ZEND_LONG_MIN) { in div_function_base()
1410 if (Z_LVAL_P(op1) % Z_LVAL_P(op2) == 0) { /* integer */ in div_function_base()
1411 ZVAL_LONG(result, Z_LVAL_P(op1) / Z_LVAL_P(op2)); in div_function_base()
1413 ZVAL_DOUBLE(result, ((double) Z_LVAL_P(op1)) / Z_LVAL_P(op2)); in div_function_base()
1417 if (Z_DVAL_P(op2) == 0) { in div_function_base()
1420 ZVAL_DOUBLE(result, Z_DVAL_P(op1) / Z_DVAL_P(op2)); in div_function_base()
1423 if (Z_LVAL_P(op2) == 0) { in div_function_base()
1426 ZVAL_DOUBLE(result, Z_DVAL_P(op1) / (double)Z_LVAL_P(op2)); in div_function_base()
1429 if (Z_DVAL_P(op2) == 0) { in div_function_base()
1432 ZVAL_DOUBLE(result, (double)Z_LVAL_P(op1) / Z_DVAL_P(op2)); in div_function_base()
1440 ZEND_API zend_result ZEND_FASTCALL div_function(zval *result, zval *op1, zval *op2) /* {{{ */ in div_function() argument
1443 ZVAL_DEREF(op2); in div_function()
1445 zend_div_status retval = div_function_base(result, op1, op2); in div_function()
1458 || UNEXPECTED(zendi_try_convert_scalar_to_number(op2, &op2_copy) == FAILURE)) { in div_function()
1459 zend_binop_error("/", op1, op2); in div_function()
1485 ZEND_API zend_result ZEND_FASTCALL mod_function(zval *result, zval *op1, zval *op2) /* {{{ */ in mod_function() argument
1489 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_MOD, "%"); in mod_function()
1519 ZEND_API zend_result ZEND_FASTCALL boolean_xor_function(zval *result, zval *op1, zval *op2) /* {{{ … in boolean_xor_function() argument
1544 if (Z_TYPE_P(op2) == IS_FALSE) { in boolean_xor_function()
1546 } else if (EXPECTED(Z_TYPE_P(op2) == IS_TRUE)) { in boolean_xor_function()
1549 if (Z_ISREF_P(op2)) { in boolean_xor_function()
1550 op2 = Z_REFVAL_P(op2); in boolean_xor_function()
1551 if (Z_TYPE_P(op2) == IS_FALSE) { in boolean_xor_function()
1554 } else if (EXPECTED(Z_TYPE_P(op2) == IS_TRUE)) { in boolean_xor_function()
1560 op2_val = zval_is_true(op2); in boolean_xor_function()
1645 ZEND_API zend_result ZEND_FASTCALL bitwise_or_function(zval *result, zval *op1, zval *op2) /* {{{ */ in bitwise_or_function() argument
1649 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_or_function()
1650 ZVAL_LONG(result, Z_LVAL_P(op1) | Z_LVAL_P(op2)); in bitwise_or_function()
1655 ZVAL_DEREF(op2); in bitwise_or_function()
1657 if (Z_TYPE_P(op1) == IS_STRING && EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in bitwise_or_function()
1662 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_or_function()
1663 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_or_function()
1664 zend_uchar or = (zend_uchar) (*Z_STRVAL_P(op1) | *Z_STRVAL_P(op2)); in bitwise_or_function()
1672 shorter = op2; in bitwise_or_function()
1674 longer = op2; in bitwise_or_function()
1695 zend_binop_error("|", op1, op2); in bitwise_or_function()
1704 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_or_function()
1707 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_or_function()
1709 zend_binop_error("|", op1, op2); in bitwise_or_function()
1716 op2_lval = Z_LVAL_P(op2); in bitwise_or_function()
1727 ZEND_API zend_result ZEND_FASTCALL bitwise_and_function(zval *result, zval *op1, zval *op2) /* {{{ … in bitwise_and_function() argument
1731 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_and_function()
1732 ZVAL_LONG(result, Z_LVAL_P(op1) & Z_LVAL_P(op2)); in bitwise_and_function()
1737 ZVAL_DEREF(op2); in bitwise_and_function()
1739 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_and_function()
1744 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_and_function()
1745 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_and_function()
1746 zend_uchar and = (zend_uchar) (*Z_STRVAL_P(op1) & *Z_STRVAL_P(op2)); in bitwise_and_function()
1754 shorter = op2; in bitwise_and_function()
1756 longer = op2; in bitwise_and_function()
1777 zend_binop_error("&", op1, op2); in bitwise_and_function()
1786 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_and_function()
1789 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_and_function()
1791 zend_binop_error("&", op1, op2); in bitwise_and_function()
1798 op2_lval = Z_LVAL_P(op2); in bitwise_and_function()
1809 ZEND_API zend_result ZEND_FASTCALL bitwise_xor_function(zval *result, zval *op1, zval *op2) /* {{{ … in bitwise_xor_function() argument
1813 if (EXPECTED(Z_TYPE_P(op1) == IS_LONG) && EXPECTED(Z_TYPE_P(op2) == IS_LONG)) { in bitwise_xor_function()
1814 ZVAL_LONG(result, Z_LVAL_P(op1) ^ Z_LVAL_P(op2)); in bitwise_xor_function()
1819 ZVAL_DEREF(op2); in bitwise_xor_function()
1821 if (Z_TYPE_P(op1) == IS_STRING && Z_TYPE_P(op2) == IS_STRING) { in bitwise_xor_function()
1826 if (EXPECTED(Z_STRLEN_P(op1) >= Z_STRLEN_P(op2))) { in bitwise_xor_function()
1827 if (EXPECTED(Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) && Z_STRLEN_P(op1) == 1) { in bitwise_xor_function()
1828 zend_uchar xor = (zend_uchar) (*Z_STRVAL_P(op1) ^ *Z_STRVAL_P(op2)); in bitwise_xor_function()
1836 shorter = op2; in bitwise_xor_function()
1838 longer = op2; in bitwise_xor_function()
1859 zend_binop_error("^", op1, op2); in bitwise_xor_function()
1868 if (UNEXPECTED(Z_TYPE_P(op2) != IS_LONG)) { in bitwise_xor_function()
1871 op2_lval = zendi_try_get_long(op2, &failed); in bitwise_xor_function()
1873 zend_binop_error("^", op1, op2); in bitwise_xor_function()
1880 op2_lval = Z_LVAL_P(op2); in bitwise_xor_function()
1891 ZEND_API zend_result ZEND_FASTCALL shift_left_function(zval *result, zval *op1, zval *op2) /* {{{ */ in shift_left_function() argument
1895 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_SL, "<<"); in shift_left_function()
1928 ZEND_API zend_result ZEND_FASTCALL shift_right_function(zval *result, zval *op1, zval *op2) /* {{{ … in shift_right_function() argument
1932 convert_op1_op2_long(op1, op1_lval, op2, op2_lval, result, ZEND_SR, ">>"); in shift_right_function()
1964 ZEND_API zend_result ZEND_FASTCALL concat_function(zval *result, zval *op1, zval *op2) /* {{{ */ in concat_function() argument
1993 if (UNEXPECTED(op1 == op2)) { in concat_function()
2001 if (EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in concat_function()
2002 op2_string = Z_STR_P(op2); in concat_function()
2004 if (Z_ISREF_P(op2)) { in concat_function()
2005 op2 = Z_REFVAL_P(op2); in concat_function()
2006 if (Z_TYPE_P(op2) == IS_STRING) { in concat_function()
2007 op2_string = Z_STR_P(op2); in concat_function()
2017 op2_string = zval_get_string_func(op2); in concat_function()
2032 if (EXPECTED(result != op2 || Z_TYPE_P(result) != IS_STRING)) { in concat_function()
2115 ZEND_API int ZEND_FASTCALL string_compare_function_ex(zval *op1, zval *op2, bool case_insensitive) … in string_compare_function_ex() argument
2119 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_compare_function_ex()
2134 ZEND_API int ZEND_FASTCALL string_compare_function(zval *op1, zval *op2) /* {{{ */ in string_compare_function() argument
2137 EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in string_compare_function()
2138 if (Z_STR_P(op1) == Z_STR_P(op2)) { in string_compare_function()
2141 return zend_binary_strcmp(Z_STRVAL_P(op1), Z_STRLEN_P(op1), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in string_compare_function()
2146 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_compare_function()
2156 ZEND_API int ZEND_FASTCALL string_case_compare_function(zval *op1, zval *op2) /* {{{ */ in string_case_compare_function() argument
2159 EXPECTED(Z_TYPE_P(op2) == IS_STRING)) { in string_case_compare_function()
2160 if (Z_STR_P(op1) == Z_STR_P(op2)) { in string_case_compare_function()
2163 … 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()
2168 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_case_compare_function()
2178 ZEND_API int ZEND_FASTCALL string_locale_compare_function(zval *op1, zval *op2) /* {{{ */ in string_locale_compare_function() argument
2182 zend_string *str2 = zval_get_tmp_string(op2, &tmp_str2); in string_locale_compare_function()
2191 ZEND_API int ZEND_FASTCALL numeric_compare_function(zval *op1, zval *op2) /* {{{ */ in numeric_compare_function() argument
2196 d2 = zval_get_double(op2); in numeric_compare_function()
2202 ZEND_API zend_result ZEND_FASTCALL compare_function(zval *result, zval *op1, zval *op2) /* {{{ */ in compare_function() argument
2204 ZVAL_LONG(result, zend_compare(op1, op2)); in compare_function()
2253 ZEND_API int ZEND_FASTCALL zend_compare(zval *op1, zval *op2) /* {{{ */ in zend_compare() argument
2259 switch (TYPE_PAIR(Z_TYPE_P(op1), Z_TYPE_P(op2))) { in zend_compare()
2261 return Z_LVAL_P(op1)>Z_LVAL_P(op2)?1:(Z_LVAL_P(op1)<Z_LVAL_P(op2)?-1:0); in zend_compare()
2264 return ZEND_THREEWAY_COMPARE(Z_DVAL_P(op1), (double)Z_LVAL_P(op2)); in zend_compare()
2267 return ZEND_THREEWAY_COMPARE((double)Z_LVAL_P(op1), Z_DVAL_P(op2)); in zend_compare()
2270 return ZEND_THREEWAY_COMPARE(Z_DVAL_P(op1), Z_DVAL_P(op2)); in zend_compare()
2273 return zend_compare_arrays(op1, op2); in zend_compare()
2289 if (Z_STR_P(op1) == Z_STR_P(op2)) { in zend_compare()
2292 return zendi_smart_strcmp(Z_STR_P(op1), Z_STR_P(op2)); in zend_compare()
2295 return Z_STRLEN_P(op2) == 0 ? 0 : -1; in zend_compare()
2301 return compare_long_to_string(Z_LVAL_P(op1), Z_STR_P(op2)); in zend_compare()
2304 return -compare_long_to_string(Z_LVAL_P(op2), Z_STR_P(op1)); in zend_compare()
2311 return compare_double_to_string(Z_DVAL_P(op1), Z_STR_P(op2)); in zend_compare()
2314 if (zend_isnan(Z_DVAL_P(op2))) { in zend_compare()
2318 return -compare_double_to_string(Z_DVAL_P(op2), Z_STR_P(op1)); in zend_compare()
2330 } else if (Z_ISREF_P(op2)) { in zend_compare()
2331 op2 = Z_REFVAL_P(op2); in zend_compare()
2336 && Z_TYPE_P(op2) == IS_OBJECT in zend_compare()
2337 && Z_OBJ_P(op1) == Z_OBJ_P(op2)) { in zend_compare()
2340 return Z_OBJ_HANDLER_P(op1, compare)(op1, op2); in zend_compare()
2341 } else if (Z_TYPE_P(op2) == IS_OBJECT) { in zend_compare()
2342 return Z_OBJ_HANDLER_P(op2, compare)(op1, op2); in zend_compare()
2347 return zval_is_true(op2) ? -1 : 0; in zend_compare()
2349 return zval_is_true(op2) ? 0 : 1; in zend_compare()
2350 } else if (Z_TYPE_P(op2) < IS_TRUE) { in zend_compare()
2352 } else if (Z_TYPE_P(op2) == IS_TRUE) { in zend_compare()
2356 op2 = _zendi_convert_scalar_to_number_silent(op2, &op2_copy); in zend_compare()
2364 } else if (Z_TYPE_P(op2)==IS_ARRAY) { in zend_compare()
2390 ZEND_API bool ZEND_FASTCALL zend_is_identical(const zval *op1, const zval *op2) /* {{{ */ in zend_is_identical() argument
2392 if (Z_TYPE_P(op1) != Z_TYPE_P(op2)) { in zend_is_identical()
2401 return (Z_LVAL_P(op1) == Z_LVAL_P(op2)); in zend_is_identical()
2403 return (Z_RES_P(op1) == Z_RES_P(op2)); in zend_is_identical()
2405 return (Z_DVAL_P(op1) == Z_DVAL_P(op2)); in zend_is_identical()
2407 return zend_string_equals(Z_STR_P(op1), Z_STR_P(op2)); in zend_is_identical()
2409 return (Z_ARRVAL_P(op1) == Z_ARRVAL_P(op2) || in zend_is_identical()
2410 …zend_hash_compare(Z_ARRVAL_P(op1), Z_ARRVAL_P(op2), (compare_func_t) hash_zval_identical_function,… in zend_is_identical()
2412 return (Z_OBJ_P(op1) == Z_OBJ_P(op2)); in zend_is_identical()
2419 ZEND_API zend_result ZEND_FASTCALL is_identical_function(zval *result, zval *op1, zval *op2) /* {{{… in is_identical_function() argument
2421 ZVAL_BOOL(result, zend_is_identical(op1, op2)); in is_identical_function()
2426 ZEND_API zend_result ZEND_FASTCALL is_not_identical_function(zval *result, zval *op1, zval *op2) /*… in is_not_identical_function() argument
2428 ZVAL_BOOL(result, !zend_is_identical(op1, op2)); in is_not_identical_function()
2433 ZEND_API zend_result ZEND_FASTCALL is_equal_function(zval *result, zval *op1, zval *op2) /* {{{ */ in is_equal_function() argument
2435 ZVAL_BOOL(result, zend_compare(op1, op2) == 0); in is_equal_function()
2440 ZEND_API zend_result ZEND_FASTCALL is_not_equal_function(zval *result, zval *op1, zval *op2) /* {{{… in is_not_equal_function() argument
2442 ZVAL_BOOL(result, (zend_compare(op1, op2) != 0)); in is_not_equal_function()
2447 ZEND_API zend_result ZEND_FASTCALL is_smaller_function(zval *result, zval *op1, zval *op2) /* {{{ */ in is_smaller_function() argument
2449 ZVAL_BOOL(result, (zend_compare(op1, op2) < 0)); in is_smaller_function()
2454 ZEND_API zend_result ZEND_FASTCALL is_smaller_or_equal_function(zval *result, zval *op1, zval *op2)… in is_smaller_or_equal_function() argument
2456 ZVAL_BOOL(result, (zend_compare(op1, op2) <= 0)); in is_smaller_or_equal_function()
2689 zval op2; in increment_function() local
2690 ZVAL_LONG(&op2, 1); in increment_function()
2691 if (Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_ADD, op1, op1, &op2) == SUCCESS) { in increment_function()
2796 zval op2; in decrement_function() local
2797 ZVAL_LONG(&op2, 1); in decrement_function()
2798 if (Z_OBJ_HANDLER_P(op1, do_operation)(ZEND_SUB, op1, op1, &op2) == SUCCESS) { in decrement_function()