- print_r: documentation ( source)
<?php
$person = array(
'name' => 'John',
'age' => 24,
'locations' => Array
(
'Greenwhich' => Array
(
'New Eltham',
'Central Greenwhich'
),
'Feltham'
)
);
print_r($person);