Re: Echoing Variables Names

From: Date: Tue, 18 Jan 2005 16:51:50 +0000
Subject: Re: Echoing Variables Names
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-206657@lists.php.net to get a copy of this message
Phillip S. Baker wrote: > Greetings All, > > I am generating some variable variables. > I am interested for testing purposes in finding out the names of the > variables that are actually being generated. Since I want to make sure > that > that my following conditional statements are working properly and the > values > are set. > > So is there a way to print out the name of the variables? echo "<PRE>"; var_dump($GLOBALS); echo "</PRE>"; -- Like Music? http://l-i-e.com/artists.htm

« previous php.general (#206657) next »