svn: /phpdoc/en/trunk/reference/array/functions/ array-product.xml
| From: | Jakub Vrana | Date: | Fri, 02 Dec 2011 23:55:51 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/array/functions/ array-product.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9121@lists.php.net to get a copy of this message | ||
vrana Fri, 02 Dec 2011 23:55:51 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=320293
Log:
Product of empty array
Changed paths:
U phpdoc/en/trunk/reference/array/functions/array-product.xml
Modified: phpdoc/en/trunk/reference/array/functions/array-product.xml
===================================================================
--- phpdoc/en/trunk/reference/array/functions/array-product.xml 2011-12-02 23:44:44 UTC (rev 320292)
+++ phpdoc/en/trunk/reference/array/functions/array-product.xml 2011-12-02 23:55:51 UTC (rev 320293)
@@ -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 @@
<screen>
<![CDATA[
product(a) = 384
+product(array()) = 1
]]>
</screen>
</example>