Re: Name of variable to string

From: Date: Fri, 08 Feb 2008 17:38:01 +0000
Subject: Re: Name of variable to string
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-268959@lists.php.net to get a copy of this message
On Fri, February 8, 2008 9:14 am, tedd wrote: > From a variable with the name of $this_variable -- how do I get a > string 'this_variable' ? You don't... Consider this: function foo($bar){ //what would your function output? } $baz = 3; foo($baz); -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some indie artist. http://cdbaby.com/from/lynch Yeah, I get a buck. So?

« previous php.general (#268959) next »