From 638b940307e6913d1e459fa5674fa7fd956f9c84 Mon Sep 17 00:00:00 2001 From: Andrey Hristov Date: Thu, 9 Oct 2003 08:10:39 +0000 Subject: 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. --- 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 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); -- cgit v1.2.1