diff options
author | Andrey Hristov <andrey@php.net> | 2002-09-21 14:50:04 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2002-09-21 14:50:04 +0000 |
commit | a920f00479868db5d3e4821b5f83b4edd97434bd (patch) | |
tree | f320bd921a8beb4c619694e3b82b8f4373e07505 /ext/standard/php_array.h | |
parent | 21e9bc0fb313485c722a10ade72968ea7a1ab261 (diff) | |
download | php-git-a920f00479868db5d3e4821b5f83b4edd97434bd.tar.gz |
New function added - array_intersect_assoc() similar to array_intersect()
but the keys are also used in the comparison. So the result is a subset of
the result of array_intersect().
Test will be committed too.
Diffstat (limited to 'ext/standard/php_array.h')
-rw-r--r-- | ext/standard/php_array.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_array.h b/ext/standard/php_array.h index f52c06535f..85b462dcb9 100644 --- a/ext/standard/php_array.h +++ b/ext/standard/php_array.h @@ -75,6 +75,7 @@ PHP_FUNCTION(array_change_key_case); PHP_FUNCTION(array_rand); PHP_FUNCTION(array_unique); PHP_FUNCTION(array_intersect); +PHP_FUNCTION(array_intersect_assoc); PHP_FUNCTION(array_diff); PHP_FUNCTION(array_diff_assoc); PHP_FUNCTION(array_sum); |