@- 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)
This commit is contained in:
Andrei Zmievski 2001-03-19 21:20:02 +00:00
parent 5c7a762249
commit d9aa966a44
3 changed files with 114 additions and 1 deletions

View file

@ -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);