pretty print php var_dump code example
Example: var_dump pretty
$licks = ['one', 'two', 'three'];
echo '<pre>';
print_r($licks);
echo '</pre>';
/*
array(3) {
[0]=>
string(3) "one"
[1]=>
string(3) "two"
[2]=>
string(5) "three"
}
*/
$licks = ['one', 'two', 'three'];
echo '<pre>';
print_r($licks);
echo '</pre>';
/*
array(3) {
[0]=>
string(3) "one"
[1]=>
string(3) "two"
[2]=>
string(5) "three"
}
*/