From 5e5d2640fbcaa093d33ed01b2c7215813adb0bf6 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Wed, 21 Jul 2004 21:17:56 +0000 Subject: add array_: intersect_key() intersect_ukey() diff_key() diff_ukey() The first two by a patch of Cristiano Duarte. The second two were implemented in almost the same way except one small difference. --- ext/standard/php_array.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ext/standard/php_array.h') diff --git a/ext/standard/php_array.h b/ext/standard/php_array.h index 65a8394601..077862c5c3 100644 --- a/ext/standard/php_array.h +++ b/ext/standard/php_array.h @@ -76,12 +76,16 @@ PHP_FUNCTION(array_change_key_case); PHP_FUNCTION(array_rand); PHP_FUNCTION(array_unique); PHP_FUNCTION(array_intersect); +PHP_FUNCTION(array_intersect_key); +PHP_FUNCTION(array_intersect_ukey); 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_diff_key); +PHP_FUNCTION(array_diff_ukey); PHP_FUNCTION(array_udiff); PHP_FUNCTION(array_diff_assoc); PHP_FUNCTION(array_udiff_assoc); -- cgit v1.2.1