From a33165863378a052b07688d143ae6f3e9445eea2 Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 2 Dec 2011 23:55:51 +0000 Subject: [PATCH] Product of empty array git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@320293 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/array/functions/array-product.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reference/array/functions/array-product.xml b/reference/array/functions/array-product.xml index e64f976067..6d103c1ae4 100644 --- a/reference/array/functions/array-product.xml +++ b/reference/array/functions/array-product.xml @@ -48,6 +48,7 @@ $a = array(2, 4, 6, 8); echo "product(a) = " . array_product($a) . "\n"; +echo "product(array()) = " . array_product(array()) . "\n"; ?> ]]> @@ -56,6 +57,7 @@ echo "product(a) = " . array_product($a) . "\n";