PHP Find out the product of elements in an array – PHP May 11, 2011 Pramod T P Leave a comment <?php $testArray = array(3, 2, 4, 7); echo "product is " . array_product($testArray); // product is 168 ?>