Thanks! That's very close to what I'm looking for.
I don't suppose you know of a way to save that as a string? I figured out how to do it with print_r(). (Ex: $debug = print_r(get_defined_vars(),true); ), but the var_dump() seems to give better information, so that would be preferable.
Okay, perhaps I am getting overly picky. I just wanted to be able to output it out in a nicer looking manner. ^^;