Lines Matching refs:result
141 double result = 0.0; in zend_string_to_double() local
147 return result; in zend_string_to_double()
152 result *= 10; in zend_string_to_double()
153 result += *digit - '0'; in zend_string_to_double()
159 result *= pow(10.0, exponent); in zend_string_to_double()
160 return result; in zend_string_to_double()
162 return result; in zend_string_to_double()
169 result += (*digit - '0') / divisor; in zend_string_to_double()
173 result *= pow(10.0, exponent); in zend_string_to_double()
174 return result; in zend_string_to_double()
176 return result; in zend_string_to_double()
180 return result; in zend_string_to_double()
216 #define zendi_convert_scalar_to_number(op, holder, result) \ argument
217 if (op==result) { \
254 #define zendi_convert_to_long(op, holder, result) \ argument
255 if (op == result) { \
292 #define zendi_convert_to_boolean(op, holder, result) \ argument
293 if (op==result) { \
810 ZEND_API int add_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in add_function() argument
824 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) + (double) Z_LVAL_P(op2)); in add_function()
826 ZVAL_LONG(result, lval); in add_function()
832 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) + Z_DVAL_P(op2)); in add_function()
836 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + ((double)Z_LVAL_P(op2))); in add_function()
840 ZVAL_DOUBLE(result, Z_DVAL_P(op1) + Z_DVAL_P(op2)); in add_function()
846 if ((result == op1) && (result == op2)) { in add_function()
850 if (result != op1) { in add_function()
851 *result = *op1; in add_function()
852 zval_copy_ctor(result); in add_function()
854 …zend_hash_merge(Z_ARRVAL_P(result), Z_ARRVAL_P(op2), (void (*)(void *pData)) zval_add_ref, (void *… in add_function()
862 zendi_convert_scalar_to_number(op1, op1_copy, result); in add_function()
863 zendi_convert_scalar_to_number(op2, op2_copy, result); in add_function()
874 ZEND_API int sub_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in sub_function() argument
888 ZVAL_DOUBLE(result, (double) Z_LVAL_P(op1) - (double) Z_LVAL_P(op2)); in sub_function()
890 ZVAL_LONG(result, lval); in sub_function()
896 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) - Z_DVAL_P(op2)); in sub_function()
900 ZVAL_DOUBLE(result, Z_DVAL_P(op1) - ((double)Z_LVAL_P(op2))); in sub_function()
904 ZVAL_DOUBLE(result, Z_DVAL_P(op1) - Z_DVAL_P(op2)); in sub_function()
911 zendi_convert_scalar_to_number(op1, op1_copy, result); in sub_function()
912 zendi_convert_scalar_to_number(op2, op2_copy, result); in sub_function()
923 ZEND_API int mul_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in mul_function() argument
933 …ZEND_SIGNED_MULTIPLY_LONG(Z_LVAL_P(op1),Z_LVAL_P(op2), Z_LVAL_P(result),Z_DVAL_P(result),overflow); in mul_function()
934 Z_TYPE_P(result) = overflow ? IS_DOUBLE : IS_LONG; in mul_function()
939 ZVAL_DOUBLE(result, ((double)Z_LVAL_P(op1)) * Z_DVAL_P(op2)); in mul_function()
943 ZVAL_DOUBLE(result, Z_DVAL_P(op1) * ((double)Z_LVAL_P(op2))); in mul_function()
947 ZVAL_DOUBLE(result, Z_DVAL_P(op1) * Z_DVAL_P(op2)); in mul_function()
954 zendi_convert_scalar_to_number(op1, op1_copy, result); in mul_function()
955 zendi_convert_scalar_to_number(op2, op2_copy, result); in mul_function()
966 ZEND_API int pow_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in pow_function() argument
978 ZVAL_LONG(result, 1L); in pow_function()
981 ZVAL_LONG(result, 0); in pow_function()
993 ZVAL_DOUBLE(result, dval * pow(l2, i)); in pow_function()
1000 ZVAL_DOUBLE(result, (double)l1 * pow(dval, i)); in pow_function()
1006 ZVAL_LONG(result, l1); in pow_function()
1008 ZVAL_DOUBLE(result, pow((double)Z_LVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function()
1013 ZVAL_DOUBLE(result, pow((double)Z_LVAL_P(op1), Z_DVAL_P(op2))); in pow_function()
1017 ZVAL_DOUBLE(result, pow(Z_DVAL_P(op1), (double)Z_LVAL_P(op2))); in pow_function()
1021 ZVAL_DOUBLE(result, pow(Z_DVAL_P(op1), Z_DVAL_P(op2))); in pow_function()
1029 ZVAL_LONG(result, 0); in pow_function()
1032 zendi_convert_scalar_to_number(op1, op1_copy, result); in pow_function()
1035 ZVAL_LONG(result, 1L); in pow_function()
1038 zendi_convert_scalar_to_number(op2, op2_copy, result); in pow_function()
1050 ZEND_API int div_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in div_function() argument
1060 ZVAL_BOOL(result, 0); in div_function()
1064 ZVAL_DOUBLE(result, (double) LONG_MIN / -1); in div_function()
1068 ZVAL_LONG(result, Z_LVAL_P(op1) / Z_LVAL_P(op2)); in div_function()
1070 ZVAL_DOUBLE(result, ((double) Z_LVAL_P(op1)) / Z_LVAL_P(op2)); in div_function()
1077 ZVAL_BOOL(result, 0); in div_function()
1080 ZVAL_DOUBLE(result, Z_DVAL_P(op1) / (double)Z_LVAL_P(op2)); in div_function()
1086 ZVAL_BOOL(result, 0); in div_function()
1089 ZVAL_DOUBLE(result, (double)Z_LVAL_P(op1) / Z_DVAL_P(op2)); in div_function()
1095 ZVAL_BOOL(result, 0); in div_function()
1098 ZVAL_DOUBLE(result, Z_DVAL_P(op1) / Z_DVAL_P(op2)); in div_function()
1105 zendi_convert_scalar_to_number(op1, op1_copy, result); in div_function()
1106 zendi_convert_scalar_to_number(op2, op2_copy, result); in div_function()
1117 ZEND_API int mod_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in mod_function() argument
1125 zendi_convert_to_long(op1, op1_copy, result); in mod_function()
1127 zendi_convert_to_long(op2, op2_copy, result); in mod_function()
1134 ZVAL_BOOL(result, 0); in mod_function()
1140 ZVAL_LONG(result, 0); in mod_function()
1144 ZVAL_LONG(result, op1_lval % Z_LVAL_P(op2)); in mod_function()
1149 ZEND_API int boolean_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in boolean_xor_function() argument
1157 zendi_convert_to_boolean(op1, op1_copy, result); in boolean_xor_function()
1159 zendi_convert_to_boolean(op2, op2_copy, result); in boolean_xor_function()
1164 ZVAL_BOOL(result, op1_lval ^ Z_LVAL_P(op2)); in boolean_xor_function()
1169 ZEND_API int boolean_not_function(zval *result, zval *op1 TSRMLS_DC) /* {{{ */ in boolean_not_function() argument
1176 zendi_convert_to_boolean(op1, op1_copy, result); in boolean_not_function()
1179 ZVAL_BOOL(result, !Z_LVAL_P(op1)); in boolean_not_function()
1184 ZEND_API int bitwise_not_function(zval *result, zval *op1 TSRMLS_DC) /* {{{ */ in bitwise_not_function() argument
1189 ZVAL_LONG(result, ~Z_LVAL_P(op1)); in bitwise_not_function()
1192 ZVAL_LONG(result, ~zend_dval_to_lval(Z_DVAL_P(op1))); in bitwise_not_function()
1198 Z_TYPE_P(result) = IS_STRING; in bitwise_not_function()
1199 Z_STRVAL_P(result) = estrndup(Z_STRVAL(op1_copy), Z_STRLEN(op1_copy)); in bitwise_not_function()
1200 Z_STRLEN_P(result) = Z_STRLEN(op1_copy); in bitwise_not_function()
1202 Z_STRVAL_P(result)[i] = ~Z_STRVAL(op1_copy)[i]; in bitwise_not_function() local
1215 ZEND_API int bitwise_or_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in bitwise_or_function() argument
1233 Z_TYPE_P(result) = IS_STRING; in bitwise_or_function()
1239 if (result==op1) { in bitwise_or_function()
1240 str_efree(Z_STRVAL_P(result)); in bitwise_or_function()
1242 Z_STRVAL_P(result) = result_str; in bitwise_or_function()
1243 Z_STRLEN_P(result) = result_len; in bitwise_or_function()
1250 zendi_convert_to_long(op1, op1_copy, result); in bitwise_or_function()
1252 zendi_convert_to_long(op2, op2_copy, result); in bitwise_or_function()
1257 ZVAL_LONG(result, op1_lval | Z_LVAL_P(op2)); in bitwise_or_function()
1262 ZEND_API int bitwise_and_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in bitwise_and_function() argument
1280 Z_TYPE_P(result) = IS_STRING; in bitwise_and_function()
1286 if (result==op1) { in bitwise_and_function()
1287 str_efree(Z_STRVAL_P(result)); in bitwise_and_function()
1289 Z_STRVAL_P(result) = result_str; in bitwise_and_function()
1290 Z_STRLEN_P(result) = result_len; in bitwise_and_function()
1297 zendi_convert_to_long(op1, op1_copy, result); in bitwise_and_function()
1299 zendi_convert_to_long(op2, op2_copy, result); in bitwise_and_function()
1304 ZVAL_LONG(result, op1_lval & Z_LVAL_P(op2)); in bitwise_and_function()
1309 ZEND_API int bitwise_xor_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in bitwise_xor_function() argument
1327 Z_TYPE_P(result) = IS_STRING; in bitwise_xor_function()
1333 if (result==op1) { in bitwise_xor_function()
1334 str_efree(Z_STRVAL_P(result)); in bitwise_xor_function()
1336 Z_STRVAL_P(result) = result_str; in bitwise_xor_function()
1337 Z_STRLEN_P(result) = result_len; in bitwise_xor_function()
1344 zendi_convert_to_long(op1, op1_copy, result); in bitwise_xor_function()
1346 zendi_convert_to_long(op2, op2_copy, result); in bitwise_xor_function()
1351 ZVAL_LONG(result, op1_lval ^ Z_LVAL_P(op2)); in bitwise_xor_function()
1356 ZEND_API int shift_left_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in shift_left_function() argument
1364 zendi_convert_to_long(op1, op1_copy, result); in shift_left_function()
1366 zendi_convert_to_long(op2, op2_copy, result); in shift_left_function()
1371 ZVAL_LONG(result, op1_lval << Z_LVAL_P(op2)); in shift_left_function()
1376 ZEND_API int shift_right_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in shift_right_function() argument
1384 zendi_convert_to_long(op1, op1_copy, result); in shift_right_function()
1386 zendi_convert_to_long(op2, op2_copy, result); in shift_right_function()
1391 ZVAL_LONG(result, op1_lval >> Z_LVAL_P(op2)); in shift_right_function()
1397 ZEND_API int add_char_to_string(zval *result, const zval *op1, const zval *op2) /* {{{ */ in add_char_to_string() argument
1410 ZVAL_STRINGL(result, buf, length, 0); in add_char_to_string()
1416 ZEND_API int add_string_to_string(zval *result, const zval *op1, const zval *op2) /* {{{ */ in add_string_to_string() argument
1429 ZVAL_STRINGL(result, buf, length, 0); in add_string_to_string()
1434 ZEND_API int concat_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in concat_function() argument
1454 if (result == op1) { in concat_function()
1462 …if (result==op1 && !IS_INTERNED(Z_STRVAL_P(op1))) { /* special case, perform operations on result … in concat_function()
1465 if (Z_STRLEN_P(result) < 0 || (int) (Z_STRLEN_P(op1) + Z_STRLEN_P(op2)) < 0) { in concat_function()
1466 efree(Z_STRVAL_P(result)); in concat_function()
1467 ZVAL_EMPTY_STRING(result); in concat_function()
1471 Z_STRVAL_P(result) = safe_erealloc(Z_STRVAL_P(result), res_len, 1, 1); in concat_function()
1473 memcpy(Z_STRVAL_P(result)+Z_STRLEN_P(result), Z_STRVAL_P(op2), Z_STRLEN_P(op2)); in concat_function()
1474 Z_STRVAL_P(result)[res_len]=0; in concat_function() local
1475 Z_STRLEN_P(result) = res_len; in concat_function()
1488 ZVAL_STRINGL(result, buf, length, 0); in concat_function()
1500 ZEND_API int string_compare_function_ex(zval *result, zval *op1, zval *op2, zend_bool case_insensit… in string_compare_function_ex() argument
1520 ZVAL_LONG(result, zend_binary_zval_strcasecmp(op1, op2)); in string_compare_function_ex()
1522 ZVAL_LONG(result, zend_binary_zval_strcmp(op1, op2)); in string_compare_function_ex()
1535 ZEND_API int string_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in string_compare_function() argument
1537 return string_compare_function_ex(result, op1, op2, 0 TSRMLS_CC); in string_compare_function()
1541 ZEND_API int string_case_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in string_case_compare_function() argument
1543 return string_compare_function_ex(result, op1, op2, 1 TSRMLS_CC); in string_case_compare_function()
1548 ZEND_API int string_locale_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in string_locale_compare_function() argument
1567 ZVAL_LONG(result, strcoll(Z_STRVAL_P(op1), Z_STRVAL_P(op2))); in string_locale_compare_function()
1580 ZEND_API int numeric_compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in numeric_compare_function() argument
1593 ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_DVAL(op1_copy)-Z_DVAL(op2_copy))); in numeric_compare_function()
1611 ZEND_API int compare_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in compare_function() argument
1621 ZVAL_LONG(result, Z_LVAL_P(op1)>Z_LVAL_P(op2)?1:(Z_LVAL_P(op1)<Z_LVAL_P(op2)?-1:0)); in compare_function()
1625 Z_DVAL_P(result) = Z_DVAL_P(op1) - (double)Z_LVAL_P(op2); in compare_function()
1626 ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_DVAL_P(result))); in compare_function()
1630 Z_DVAL_P(result) = (double)Z_LVAL_P(op1) - Z_DVAL_P(op2); in compare_function()
1631 ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_DVAL_P(result))); in compare_function()
1636 ZVAL_LONG(result, 0); in compare_function()
1638 Z_DVAL_P(result) = Z_DVAL_P(op1) - Z_DVAL_P(op2); in compare_function()
1639 ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_DVAL_P(result))); in compare_function()
1644 zend_compare_arrays(result, op1, op2 TSRMLS_CC); in compare_function()
1648 ZVAL_LONG(result, 0); in compare_function()
1652 ZVAL_LONG(result, Z_LVAL_P(op2) ? -1 : 0); in compare_function()
1656 ZVAL_LONG(result, Z_LVAL_P(op1) ? 1 : 0); in compare_function()
1660 ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_LVAL_P(op1) - Z_LVAL_P(op2))); in compare_function()
1664 zendi_smart_strcmp(result, op1, op2); in compare_function()
1668 ZVAL_LONG(result, zend_binary_strcmp("", 0, Z_STRVAL_P(op2), Z_STRLEN_P(op2))); in compare_function()
1672 ZVAL_LONG(result, zend_binary_strcmp(Z_STRVAL_P(op1), Z_STRLEN_P(op1), "", 0)); in compare_function()
1676 ZVAL_LONG(result, 1); in compare_function()
1680 ZVAL_LONG(result, -1); in compare_function()
1685 return Z_OBJ_HANDLER_P(op1, compare)(result, op1, op2 TSRMLS_CC); in compare_function()
1687 return Z_OBJ_HANDLER_P(op2, compare)(result, op1, op2 TSRMLS_CC); in compare_function()
1693 ZVAL_LONG(result, 0); in compare_function()
1697 ZVAL_LONG(result, Z_OBJ_HANDLER_P(op1, compare_objects)(op1, op2 TSRMLS_CC)); in compare_function()
1704 ret = compare_function(result, op_free, op2 TSRMLS_CC); in compare_function()
1710 ZVAL_LONG(result, 1); in compare_function()
1714 ret = compare_function(result, op_free, op2 TSRMLS_CC); in compare_function()
1722 ret = compare_function(result, op1, op_free TSRMLS_CC); in compare_function()
1728 ZVAL_LONG(result, -1); in compare_function()
1732 ret = compare_function(result, op1, op_free TSRMLS_CC); in compare_function()
1736 ZVAL_LONG(result, 1); in compare_function()
1742 zendi_convert_to_boolean(op2, op2_copy, result); in compare_function()
1743 ZVAL_LONG(result, Z_LVAL_P(op2) ? -1 : 0); in compare_function()
1746 zendi_convert_to_boolean(op1, op1_copy, result); in compare_function()
1747 ZVAL_LONG(result, Z_LVAL_P(op1) ? 1 : 0); in compare_function()
1750 zendi_convert_to_boolean(op2, op2_copy, result); in compare_function()
1751 ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_LVAL_P(op1) - Z_LVAL_P(op2))); in compare_function()
1754 zendi_convert_to_boolean(op1, op1_copy, result); in compare_function()
1755 ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_LVAL_P(op1) - Z_LVAL_P(op2))); in compare_function()
1758 zendi_convert_scalar_to_number(op1, op1_copy, result); in compare_function()
1759 zendi_convert_scalar_to_number(op2, op2_copy, result); in compare_function()
1763 ZVAL_LONG(result, 1); in compare_function()
1766 ZVAL_LONG(result, -1); in compare_function()
1769 ZVAL_LONG(result, 1); in compare_function()
1772 ZVAL_LONG(result, -1); in compare_function()
1775 ZVAL_LONG(result, 0); in compare_function()
1785 zval result; in hash_zval_identical_function() local
1793 if (is_identical_function(&result, (zval *) *z1, (zval *) *z2 TSRMLS_CC)==FAILURE) { in hash_zval_identical_function()
1796 return !Z_LVAL(result); in hash_zval_identical_function()
1800 ZEND_API int is_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in is_identical_function() argument
1802 Z_TYPE_P(result) = IS_BOOL; in is_identical_function()
1804 Z_LVAL_P(result) = 0; in is_identical_function()
1809 Z_LVAL_P(result) = 1; in is_identical_function()
1814 Z_LVAL_P(result) = (Z_LVAL_P(op1) == Z_LVAL_P(op2)); in is_identical_function()
1817 Z_LVAL_P(result) = (Z_DVAL_P(op1) == Z_DVAL_P(op2)); in is_identical_function()
1820 Z_LVAL_P(result) = ((Z_STRLEN_P(op1) == Z_STRLEN_P(op2)) in is_identical_function()
1824 Z_LVAL_P(result) = (Z_ARRVAL_P(op1) == Z_ARRVAL_P(op2) || in is_identical_function()
1829 Z_LVAL_P(result) = (Z_OBJ_HANDLE_P(op1) == Z_OBJ_HANDLE_P(op2)); in is_identical_function()
1831 Z_LVAL_P(result) = 0; in is_identical_function()
1835 Z_LVAL_P(result) = 0; in is_identical_function()
1842 ZEND_API int is_not_identical_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in is_not_identical_function() argument
1844 if (is_identical_function(result, op1, op2 TSRMLS_CC) == FAILURE) { in is_not_identical_function()
1847 Z_LVAL_P(result) = !Z_LVAL_P(result); in is_not_identical_function()
1852 ZEND_API int is_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in is_equal_function() argument
1854 if (compare_function(result, op1, op2 TSRMLS_CC) == FAILURE) { in is_equal_function()
1857 ZVAL_BOOL(result, (Z_LVAL_P(result) == 0)); in is_equal_function()
1862 ZEND_API int is_not_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in is_not_equal_function() argument
1864 if (compare_function(result, op1, op2 TSRMLS_CC) == FAILURE) { in is_not_equal_function()
1867 ZVAL_BOOL(result, (Z_LVAL_P(result) != 0)); in is_not_equal_function()
1872 ZEND_API int is_smaller_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in is_smaller_function() argument
1874 if (compare_function(result, op1, op2 TSRMLS_CC) == FAILURE) { in is_smaller_function()
1877 ZVAL_BOOL(result, (Z_LVAL_P(result) < 0)); in is_smaller_function()
1882 ZEND_API int is_smaller_or_equal_function(zval *result, zval *op1, zval *op2 TSRMLS_DC) /* {{{ */ in is_smaller_or_equal_function() argument
1884 if (compare_function(result, op1, op2 TSRMLS_CC) == FAILURE) { in is_smaller_or_equal_function()
1887 ZVAL_BOOL(result, (Z_LVAL_P(result) <= 0)); in is_smaller_or_equal_function()
2149 register unsigned char *result = (unsigned char*)dest; in zend_str_tolower_copy() local
2153 *result++ = zend_tolower_ascii(*str++); in zend_str_tolower_copy()
2155 *result = '\0'; in zend_str_tolower_copy()
2321 ZEND_API void zendi_smart_strcmp(zval *result, zval *s1, zval *s2) /* {{{ */ argument
2345 ZVAL_LONG(result, -1 * oflow2);
2351 ZVAL_LONG(result, oflow1);
2360 Z_DVAL_P(result) = dval1 - dval2;
2361 ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_DVAL_P(result)));
2363 ZVAL_LONG(result, lval1 > lval2 ? 1 : (lval1 < lval2 ? -1 : 0));
2367 Z_LVAL_P(result) = zend_binary_zval_strcmp(s1, s2);
2368 ZVAL_LONG(result, ZEND_NORMALIZE_BOOL(Z_LVAL_P(result)));
2375 zval result; local
2377 if (compare_function(&result, (zval *) *z1, (zval *) *z2 TSRMLS_CC)==FAILURE) {
2380 return Z_LVAL(result);
2390 ZEND_API void zend_compare_symbol_tables(zval *result, HashTable *ht1, HashTable *ht2 TSRMLS_DC) /*… argument
2392 …ZVAL_LONG(result, ht1 == ht2 ? 0 : zend_hash_compare(ht1, ht2, (compare_func_t) hash_zval_compare_…
2396 ZEND_API void zend_compare_arrays(zval *result, zval *a1, zval *a2 TSRMLS_DC) /* {{{ */ argument
2398 zend_compare_symbol_tables(result, Z_ARRVAL_P(a1), Z_ARRVAL_P(a2) TSRMLS_CC);
2402 ZEND_API void zend_compare_objects(zval *result, zval *o1, zval *o2 TSRMLS_DC) /* {{{ */ argument
2404 Z_TYPE_P(result) = IS_LONG;
2407 Z_LVAL_P(result) = 0;
2412 Z_LVAL_P(result) = 1;
2414 Z_LVAL_P(result) = Z_OBJ_HT_P(o1)->compare_objects(o1, o2 TSRMLS_CC);