diff options
author | Andrei Zmievski <andrei@php.net> | 2001-03-12 03:06:53 +0000 |
---|---|---|
committer | Andrei Zmievski <andrei@php.net> | 2001-03-12 03:06:53 +0000 |
commit | d73ef1242986f84a7bb9e6fa088f19d4f22b05dc (patch) | |
tree | 9c64de3a3ae754aab5226d151403886c5896e4a4 /ext/standard/php_array.h | |
parent | 2d54fb39b957cc0ca973d0cbb5d1869567c2df76 (diff) | |
download | php-git-d73ef1242986f84a7bb9e6fa088f19d4f22b05dc.tar.gz |
@- Added array_reduce(), which allows iterative reduction of an array
@ to a single value via a callback function. (Andrei)
- Added array_reduce(), which allows iterative reduction of an array
to a single value via a callback function.
- Fixed usage of zend_is_callable() in PCRE.
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 2db8dee4f7..b38209d6f5 100644 --- a/ext/standard/php_array.h +++ b/ext/standard/php_array.h @@ -67,6 +67,7 @@ PHP_FUNCTION(array_keys); PHP_FUNCTION(array_values); PHP_FUNCTION(array_count_values); PHP_FUNCTION(array_reverse); +PHP_FUNCTION(array_reduce); PHP_FUNCTION(array_pad); PHP_FUNCTION(array_flip); PHP_FUNCTION(array_rand); |