From 2451ff5368c222c96e3616ca38708b07d6364bc2 Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Sun, 21 Nov 1999 12:37:53 +0000 Subject: @- Implemented array_flip() function. Returns input-array with key, value @ flipped. (Thies) (PHP array_flip) new function. no clash detection, only works for IS_STRING and IS_LONG datatypes in src-array. --- 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 312c90fcbb..b42eaed6b1 100644 --- a/ext/standard/php_array.h +++ b/ext/standard/php_array.h @@ -75,6 +75,7 @@ PHP_FUNCTION(array_values); PHP_FUNCTION(array_count_values); PHP_FUNCTION(array_reverse); PHP_FUNCTION(array_pad); +PHP_FUNCTION(array_flip); #define phpext_array_ptr array_module_ptr -- cgit v1.2.1