|
|
|
@ -2624,7 +2624,7 @@ out: |
|
|
|
} |
|
|
|
/* }}} */ |
|
|
|
|
|
|
|
static void php_array_diff(INTERNAL_FUNCTION_PARAMETERS, int behavior TSRMLS_DC) |
|
|
|
static void php_array_diff(INTERNAL_FUNCTION_PARAMETERS, int behavior) |
|
|
|
{ |
|
|
|
zval ***args = NULL; |
|
|
|
HashTable *hash; |
|
|
|
@ -2759,7 +2759,7 @@ out: |
|
|
|
Returns the entries of arr1 that have values which are not present in any of the others arguments */ |
|
|
|
PHP_FUNCTION(array_diff) |
|
|
|
{ |
|
|
|
php_array_diff(INTERNAL_FUNCTION_PARAM_PASSTHRU, DIFF_NORMAL TSRMLS_CC); |
|
|
|
php_array_diff(INTERNAL_FUNCTION_PARAM_PASSTHRU, DIFF_NORMAL); |
|
|
|
} |
|
|
|
/* }}} */ |
|
|
|
|
|
|
|
@ -2767,7 +2767,7 @@ PHP_FUNCTION(array_diff) |
|
|
|
Returns the entries of arr1 that have values which are not present in any of the others arguments but do additional checks whether the keys are equal */ |
|
|
|
PHP_FUNCTION(array_diff_assoc) |
|
|
|
{ |
|
|
|
php_array_diff(INTERNAL_FUNCTION_PARAM_PASSTHRU, DIFF_ASSOC TSRMLS_CC); |
|
|
|
php_array_diff(INTERNAL_FUNCTION_PARAM_PASSTHRU, DIFF_ASSOC); |
|
|
|
} |
|
|
|
/* }}} */ |
|
|
|
|
|
|
|
|