NextIndexPrevious

Programs in PHP

8. Program to find the product of elements in an array.
<?php

	$arr = array(10,20,30);
	echo array_product($arr);
	
?>
Output :

6000