devolve_absolve wrote in php 😯confused


This is a very small question, but important nonetheless for my current project. I've noticed everywhere I've looked that the result for print_r($array) seems to be always written as;
array (
[0] => 0
[1] => 1
[2] => 2
)


Now is this how it is actually printed by the script or not? Whenever I use print_r I end up with;
array ( [0] => 0 [1] => 1 [2] => 2 )

which, to say the least, is infuriating to work with when it's a decent sized series of assoc. arrays. Could someone let me know if I'm missing something that kills the formatting, or if it's just pure bad luck?


cheers miquel_fire and arrendek