diff options
author | Andrei Zmievski <andrei@php.net> | 2001-03-19 21:20:02 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2001-03-19 21:20:02 +0000 |
commit | d9aa966a44937f5846fe426644bb0aaa74fc64b3 (patch) | |
tree | 635906cc0da3cf4d2b79210b5fd7270b3d63887b /ext/standard/php_array.h | |
parent | 5c7a762249ed6d75ad7c2face654bba9c7292dd2 (diff) | |
download | php-git-d9aa966a44937f5846fe426644bb0aaa74fc64b3.tar.gz |
@- Added array_map() function that applies a callback to the elements
@ of given arrays and returns the result. It can also be used with a
@ null callback to transpose arrays. (Andrei)
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 226574df92..fb00e2d08a 100644 --- a/ext/standard/php_array.h +++ b/ext/standard/php_array.h @@ -76,6 +76,7 @@ PHP_FUNCTION(array_intersect); PHP_FUNCTION(array_diff); PHP_FUNCTION(array_sum); PHP_FUNCTION(array_filter); +PHP_FUNCTION(array_map); HashTable* php_splice(HashTable *, int, int, zval ***, int, HashTable **); PHPAPI void php_array_merge(HashTable *dest, HashTable *src, int recursive); |