1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 01:32:22 +01:00

MFH: Do not assume array contains numeric values.

This commit is contained in:
Ilia Alshanetsky
2003-08-09 16:47:21 +00:00
parent d58f597885
commit e60da236ae

View File

@@ -3210,7 +3210,7 @@ PHP_FUNCTION(array_reduce)
result = *initial;
} else {
MAKE_STD_ZVAL(result);
ZVAL_LONG(result, 0);
ZVAL_NULL(result);
}
/* (zval **)input points to an element of argument stack