Multi-dimensional arrays

# Example 1:
$a["color"]     = "red";
$a["taste"]     = "sweet";
$a["shape"]     = "round";
$a["name"]      = "apple";
$a[3]           = 4;


# Example 2:
$b = array(
     "color" => "red",
     "taste" => "sweet",
     "shape" => "round",
     "name"  => "apple",
     3       => 4
);
"red", "taste" => "sweet", "shape" => "round", "name" => "apple", 3 => 4 ); foreach($a as $k => $v){ echo "\$a[$k]=$v
\n"; } echo "
\n"; foreach($b as $k => $v){ echo "\$b[$k]=$v
\n"; } ?>