NextIndexPrevious

Programs in PHP

4. Program to find number of elements in an array.
<?php

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

5



Father of PHP

Rasmus Lerdorf

Rasmus Lerdorf

Born: November 22, 1968, Greenland