Re: Re: variable container?
| From: | Jake McHenry | Date: | Mon, 26 Jan 2004 23:21:08 +0000 |
| Subject: | Re: Re: variable container? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-175828@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "John Nichel" <jnichel@by-tor.com>
To: "Jake McHenry" <linux@nittanytravel.com>
Cc: <php-general@lists.php.net>
Sent: Monday, January 26, 2004 6:11 PM
Subject: Re: [PHP] Re: variable container?
> Jake McHenry wrote:
> <snip>
> > I want a list of all variables used. I tried just putting var_dump() but
got
> > an error. I'd like to see a list of all variables being used in the
script,
> > then I can start cleaning original code and what I have added. Some
strange
> > results lead me to believe I'm declaring the variables more than once
with
> > different values, and I'd like to know if there is a way that I can just
get
> > a dump of ALL the variables in use. Unless I'm using the function wrong.
> > Please advise.
>
> There are your 'super-globals', like $_POST, $_GET, $_REQUEST,
> $_SESSION, etc. If I'm not mistaken, phpinfo() will show you all of
> those, as well as php/web server configuration.
>
> --
> By-Tor.com
> It's all about the Rush
> http://www.by-tor.com
>
yes, but they're not converted into those yet. all of the variables are with
register_globals = on and they're all global vars. I'm converting them all
over to session vars, this is why I need to know the list.
Thanks,
Jake