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

Father of PHP

Rasmus Lerdorf

Rasmus Lerdorf

Born: November 22, 1968, Greenland