diff options
author | Andrey Hristov <andrey@php.net> | 2003-10-09 08:10:39 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2003-10-09 08:10:39 +0000 |
commit | 638b940307e6913d1e459fa5674fa7fd956f9c84 (patch) | |
tree | 3d6a7ad24f0e3d59dac4d99fa3616d618591eb00 /ext/standard/php_array.h | |
parent | fab21a4ade6a7d0aebc2c7e7f6701c6342b7e596 (diff) | |
download | php-git-638b940307e6913d1e459fa5674fa7fd956f9c84.tar.gz |
New array functions for doing intersection of arrays that are complementary
to array_*diff* family of functions. Namely array_uintersect(), array_uintersect_assoc(),
array_intersect_uassoc() and array_uintersect_uassoc(). Test case is also included.
#docs and news entry later.
Diffstat (limited to 'ext/standard/php_array.h')
-rw-r--r-- | ext/standard/php_array.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/standard/php_array.h b/ext/standard/php_array.h index 65a1b76dd2..cafc1a7b0e 100644 --- a/ext/standard/php_array.h +++ b/ext/standard/php_array.h @@ -76,7 +76,11 @@ PHP_FUNCTION(array_change_key_case); PHP_FUNCTION(array_rand); PHP_FUNCTION(array_unique); PHP_FUNCTION(array_intersect); +PHP_FUNCTION(array_uintersect); PHP_FUNCTION(array_intersect_assoc); +PHP_FUNCTION(array_uintersect_assoc); +PHP_FUNCTION(array_intersect_uassoc); +PHP_FUNCTION(array_uintersect_uassoc); PHP_FUNCTION(array_diff); PHP_FUNCTION(array_udiff); PHP_FUNCTION(array_diff_assoc); |