summaryrefslogtreecommitdiff
path: root/ext/standard/php_array.h
diff options
context:
space:
mode:
authorThies C. Arntzen <thies@php.net>1999-11-21 12:37:53 +0000
committerThies C. Arntzen <thies@php.net>1999-11-21 12:37:53 +0000
commit2451ff5368c222c96e3616ca38708b07d6364bc2 (patch)
treec38d503f5c93adf7b8e35fe2619a7c0977bd776b /ext/standard/php_array.h
parentee1380e6b02693cb09a4da6c1982290038d5bc1e (diff)
downloadphp-git-2451ff5368c222c96e3616ca38708b07d6364bc2.tar.gz
@- 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.
Diffstat (limited to 'ext/standard/php_array.h')
-rw-r--r--ext/standard/php_array.h1
1 files changed, 1 insertions, 0 deletions
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