Przykład z manuala:
<?php
function htmldump($variable, $height="50em") {
echo "<pre style=\"border: 1px solid #000; height: {$height}; overflow: auto; margin: 0.5em;\">"; }
htmldump($a);
?>
Wynik:
Cytat
array(3) {
[0]=>
int(1)
[1]=>
int(2)
[2]=>
array(3) {
[0]=>
string(1) "a"
[1]=>
string(1) "b"
[2]=>
string(1) "c"
}
}
Tyle, że tutaj nie widać tych odstępów (tabulatorów jakby), przetestuj to u siebie najlepiej