- print_r: documentation ( source)
<?php
$a = array(
'id' => 1,
'name' => 'Jacopo',
'male' => true,
'birthday' => new DateTime('1988-07-26'),
'hobbies' => array(
'Programming',
'TV Shows',
'Skiing'
)
);
print_r($a);