From a920f00479868db5d3e4821b5f83b4edd97434bd Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Sat, 21 Sep 2002 14:50:04 +0000 Subject: 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. --- ext/standard/php_array.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/standard/php_array.h') 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); -- cgit v1.2.1