From d73ef1242986f84a7bb9e6fa088f19d4f22b05dc Mon Sep 17 00:00:00 2001 From: Andrei Zmievski Date: Mon, 12 Mar 2001 03:06:53 +0000 Subject: @- 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. --- ext/standard/php_array.h | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/standard/php_array.h') 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); -- cgit v1.2.1