Re: Listing Declared Variables
| From: | Justin French | Date: | Tue, 06 May 2003 23:25:31 +0000 |
| Subject: | Re: Listing Declared Variables | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146602@lists.php.net to get a copy of this message | ||
<guess>
Does print_r($GLOBALS) or print_r($_GLOBALS) help?
</guess>
Justin French
on 07/05/03 9:37 AM, Dan Tappin (dan.tappin@orourke-eng.com) wrote:
> Is there an easy way to list the declared variables in a PHP file?
>
> I am trying to use the GeoIP PHP script (http://www.maxmind.com) on an
> existing PHP page. I can use the PHP script on any new pages I create but
> my existing pages cause the GeoIP include to fail to return any results.
>
> I am guessing I have some sort of conflict where I am resetting a variable
> that GeoIP uses. I just want to quickly compare the defined variables on
> the GeoIP include with the ones in my existing PHP file with out hunting
> line by line.
>
> Thanks,
>
> Dan
>