Quote:
Originally Posted by Paul M
you can also just use print_r($array); exit;
Then the results will be viewable with nothing else clogging the screen.
|
I usually do that, though I created a few simple functions to include when testing something. Basically they include the <pre> tags, and an optional parameter to exit the script.
Whatever makes debugging faster is good!