Sources :
<?php function dump($data) { echo nl2br(str_replace(' ', ' ', print_r($data, true))) . '<hr>'; } dump(get_defined_vars()); ?>