Learning PHP: What's the equivalent?
Related Categories: PHP
Hi all!
I am in the process of picking up a little PHP here and there at my new gig.
I have already made a connection to the database and done my output, yadda yadda yadda. But, what I'm really missing (for debugging purposes of course) is a < cfdump > equivalent in PHP.
How do you do something like, < cfdump var="qryGetEmployees" >, in PHP?
thanks!

To my knowledge, there is nothing native in PHP that does this.
<cfdump var="PHP" />
<cfset learnedLesson = goBackToColdFusionAndKeepLifeSane() />
... sorry you didn't expect us to not take the shot did you??? ;)
It's not nicely formatted like cfdump is, but at least you can see what is going on.
http://us2.php.net/var_dump
someone did the job, translate cfdump to php
enjoy
<?php new dBug ( $variable_to_dump ); ?>