diff options
author | Andrey Hristov <andrey@php.net> | 2003-01-13 18:12:23 +0000 |
---|---|---|
committer | Andrey Hristov <andrey@php.net> | 2003-01-13 18:12:23 +0000 |
commit | 1cdc956637d6a328cd6c0f170aede2b5341b71c8 (patch) | |
tree | 23a662669b64917d1cf85823a517937d91da45b4 /ext/standard/php_array.h | |
parent | ffeb57afb5ce6262f76592ef0da216239858c247 (diff) | |
download | php-git-1cdc956637d6a328cd6c0f170aede2b5341b71c8.tar.gz |
added array_combine().
Creates an array by using the elements of the first parameter as keys and
the elements of the second as correspoding keys. Error is thrown in case
the arrays has different number of elements. Number of elements 0 is not
valid for both parameters.
Diffstat (limited to 'ext/standard/php_array.h')
-rw-r--r-- | ext/standard/php_array.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/php_array.h b/ext/standard/php_array.h index 36601f0f78..3352e290b2 100644 --- a/ext/standard/php_array.h +++ b/ext/standard/php_array.h @@ -83,6 +83,7 @@ PHP_FUNCTION(array_filter); PHP_FUNCTION(array_map); PHP_FUNCTION(array_key_exists); PHP_FUNCTION(array_chunk); +PHP_FUNCTION(array_combine); HashTable* php_splice(HashTable *, int, int, zval ***, int, HashTable **); PHPAPI int php_array_merge(HashTable *dest, HashTable *src, int recursive TSRMLS_DC); |