Nested array : Nested Array « Data Structure « PHP






Nested array

<?php
   $locations = array("C","A",array("Boston","Des Moines"),"B");
   echo count($locations,1);
?>

           
       

Related examples in the same category