All active variables?

From: Date: Tue, 01 Aug 2006 05:55:32 +0000
Subject: All active variables?
Groups: php.general 
Request: Send a blank email to php-general+get-239942@lists.php.net to get a copy of this message
Hi, Is it possible to print out all variables that are active within a script without doing it manually? This is what I would like to do: $a = 12; $b = 'Peter'; $c = 'Lauri'; echo '<pre>'; print_r( get_all_variables() ); echo '</pre>'; Best regards, Peter Lauri

« previous php.general (#239942) next »