Array in PHP in PHP

<?php
    //Numeric Array
$c[0]="BMW";
$c[1]="Ford";
$c[2]="Honda";
$c[3]="Mercedes"; 

for($i=0;$i<4;$i++)
    echo $c[$i] . "<br>";
?>


<?php
    // Associative Array
$ages = array("A"=>32, "B"=>30, "C"=>34);

echo "A is " . $ages['A'] . " years old.";

?>



    // Multi Dimensional Array
$families = array
  (
  "A"=>array ( "Sam", "George", "Christy" ),
  "B"=>array ( "Gwen" ),
  "C"=>array ( "Cleveland","Corvette","Tim" )
  );