Calculate and return the product of an array:


SUBMITTED BY: henry1874w

DATE: June 25, 2017, 2:34 p.m.

FORMAT: Text only

SIZE: 56 Bytes

HITS: 259

  1. <?php
  2. $a=array(5,5,2,10);
  3. echo(array_product($a));
  4. ?>

comments powered by Disqus