@ -2291,10 +2291,10 @@ out:
}
/* }}} */
/* {{{ proto array array_subtract(array arr1, array arr2 [, ...])
/* {{{ proto array array_diff(array arr1, array arr2 [, ...])
Returns the entries of arr1 that have values which are not present in
any of the others arguments */
PHP_FUNCTION(array_subtract)
PHP_FUNCTION(array_diff)
{
zval ***args = NULL;
HashTable *hash;
@ -509,7 +509,7 @@ function_entry basic_functions[] = {
PHP_FE(array_rand, NULL)
PHP_FE(array_unique, NULL)
PHP_FE(array_intersect, NULL)
PHP_FE(array_subtract, NULL)
PHP_FE(array_diff, NULL)
/* aliases from array.c */
PHP_FALIAS(pos, current, first_arg_force_ref)
@ -71,7 +71,7 @@ PHP_FUNCTION(array_flip);
PHP_FUNCTION(array_rand);
PHP_FUNCTION(array_unique);
PHP_FUNCTION(array_intersect);
PHP_FUNCTION(array_subtract);
PHP_FUNCTION(array_diff);
HashTable* php_splice(HashTable *, int, int, zval ***, int, HashTable **);
int multisort_compare(const void *a, const void *b);