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