PHP/Data Structure/Nested Array
Nested array
<?php
$locations = array("C","A",array("Boston","Des Moines"),"B");
echo count($locations,1);
?>
<?php
$locations = array("C","A",array("Boston","Des Moines"),"B");
echo count($locations,1);
?>