cfdump is a catch-all Coldfusion function for debugging. It outputs the entire contents of the variable – regardless of variable type – into a webpage in a nicely formatted, coloured DHTML table. This is definitely one of ColdFusion’s better features…
http://dbug.ospinto.com/

I wrote this very same function a few years ago after using Coldfusion for a few months, except mine wasn’t half as good. This one’s an almost exact match of the Coldfusion function for use in PHP. Brilliant!

Unbelievable it’s only been downloaded ~900 times…! Try it out: you won’t regret it.