This is what I do, to get EVERYTHING:

<pre><?
var_dump(get_defined_vars());
echo "\r\n\r\n\r\n";
var_dump(get_defined_constants());
echo "\r\n\r\n\r\n";
var_dump(get_defined_functions());
?></pre>

But this will also get all functions and constants.. use only the first
command for only the variables..

-- 
// DvDmanDT
MSN: dvdmandt€hotmail.com
Mail: dvdmandt€telia.com
"Mike Mapsnac" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> Is it possible to print all values of all variables in php file? Including
> global, local...
> Thanks
>
> _________________________________________________________________
> Get a FREE online virus check for your PC here, from McAfee.
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

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

Reply via email to