Re: All active variables?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Peter Lauri wrote:
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>';

30 seconds of searching the PHP site later... http://php.net/get_defined_vars

-Stut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux