Listing variables used in a script
Date: 03/20/07
(PHP Community) Keywords: no keywords
Is there a built-in function for listing all assigned variables used in a script?
For instance, if I have:
$test = 'foo';
$blah = 'blah';
$bar = 'bar';
?>
I'd call my mystery function:
MagicFunctionCall();
?>
Which would display:
$test = foo
$blah = blah
$bar = bar
Clear as mud? :o)
Source: http://community.livejournal.com/php/554684.html