Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Vinu Thomas' Blog:
Replace print_r and var_dump with Krumo
Apr 09, 2008 @ 14:44:31

Vinu Thomas has proposed a replacement for the usual var_dump or print_r sort of debugging developers tend to do - Krumo.

To put it simply, Krumo is a replacement for print_r() and var_dump(). By definition Krumo is a debugging tool (now for PHP5 only), which displays structured information about any PHP variable [...] it does the same job, but it presents the information beautified using CSS and DHTML.

It also supports output of other data in a "pretty format" like backtraces, included files and a listing of all constants. You can check out a demo of it in action here.

tagged: krumo printf vardump replace sourceforge css html pretty