(no version information, might be only in CVS)
array_product() returns the product of values in an array as an integer or float.
例子 1. array_product() examples
<?php$a = array(2, 4, 6, 8);echo "product(a) = " . array_product($a) . "\n";?>
上例将输出:
product(a) = 384