Re: Print All parameters
| From: | DvDmanDT | Date: | Wed, 28 Jan 2004 22:04:53 +0000 |
| Subject: | Re: Print All parameters | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-176131@lists.php.net to get a copy of this message | ||
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" <mikerh9@hotmail.com> skrev i meddelandet
news:Law12-F80ZqG6MWrA0N00031941@hotmail.com...
> 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