PHP count May 7, 2012 Pramod T P It Count all elements in an array Example <?php $array = array(PHP,ASP); echo count($array); ?> Output 2