PHP Interview Questions
How to get length of an array in PHP?
PHP count function is used to get the length or numbers of elements in an array
 
<?php
   // initializing an array in PHP
      $array=['a','b','c'];
  // Outputs 3 
      echo count($array);
?>