summaryrefslogtreecommitdiff
path: root/ext/standard/php_array.h
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2004-07-21 21:17:56 +0000
committerAndrey Hristov <andrey@php.net>2004-07-21 21:17:56 +0000
commit5e5d2640fbcaa093d33ed01b2c7215813adb0bf6 (patch)
tree73d5d75be3daaf2c6ba86751709854f13305eae3 /ext/standard/php_array.h
parent08fa8849b218509502d2388a1e078802489092fd (diff)
downloadphp-git-5e5d2640fbcaa093d33ed01b2c7215813adb0bf6.tar.gz
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.
Diffstat (limited to 'ext/standard/php_array.h')
-rw-r--r--ext/standard/php_array.h4
1 files changed, 4 insertions, 0 deletions
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);