Is there a pretty print for PHP? -
I am correcting some PHP scripts and I'm missing Ruby's beautiful printer. I.e.
Required 'pp' arr = {: one = & gt; 1} PP AR
Output {: one => 1}. It also works with quite complex objects and makes digging in an unknown script very easy. What is a way to duplicate this functionality in PHP?
Visual representation of objects within both and PHP.
$ arr = array ('one' => 1); Print_r ($ arrivals); Var_dump ($ Arrival);
Comments
Post a Comment