array_product() - 语法
array_product ( $array );
它以整数或浮点数的形式返回数组中的值的乘积。
| Sr.No | Parameter & Description |
|---|---|
| 1 |
array(必需) 它指定一个数组。 |
array_product() - 返回值
它返回数组中值的乘积。
array_product() - 示例
<?php $input=array(5,6,3); print_r(array_product($input)); ?>
这将产生以下输出-
90