Dump a multidimensional array
<?php
$objects=array('A' => array('Shape' => 'Cylinder',
'Color' => 'Red',
'Material' => 'Metal'),
'B' => array('Shape' => 'Rectangle',
'Color' => 'White',
'Material' => 'Paper'),
'C' => array('Shape' => 'Sphere',
'Color' => 'Red',
'Material' => 'Fruit'),
'D' => array('Shape' => 'Sphere',
'Color' => 'Orange',
'Material' => 'Fruit'),
'E' => array('Shape' => 'Rectangle',
'Color' => 'Yellow',
'Material' => 'Paper'));
var_dump($objects);
?>
Related examples in the same category