Re: iteration of $GLOBAL

From: Date: Tue, 13 Jan 2004 00:50:59 +0000
Subject: Re: iteration of $GLOBAL
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-174397@lists.php.net to get a copy of this message
Hello Chris, Tuesday, January 13, 2004, 12:38:40 AM, you wrote: CS> I feel a little stupid asking this but I have tried multiple CS> searches on google and on php.net and cant seem to find the CS> snippet of code that will iterate through all the global variables CS> for the session I don't believe there is any one command to do it, you can access the globals through the $GLOBALS array and use any of the many array functions to walk through it, modify them, echo them, etc. -- Best regards, Richard mailto:rich@launchcode.co.uk

« previous php.general (#174397) next »