UBB.Dev
Posted By: Dave_L_dup1 Labelling var_dump output - 10/02/2003 12:09 AM
After a year or two of using PHP, I finally realized there's a simple way to label the output from var_dump().

var_dump('foo', $foo, 'bar', $bar);

var_dump('Before buggy if-else, theme=', $theme);
Posted By: Astaran Re: Labelling var_dump output - 10/02/2003 11:15 AM
That works well if your data isn't that complex.
You may want to have a look at http://pear.php.net/package/Var_Dump, it's very helpful for displaying multidimensional arrays etc.
© UBB.Developers