Re: how to get var name and value from function?
| From: | Richard Lynch | Date: | Thu, 19 Apr 2007 22:08:32 +0000 |
| Subject: | Re: how to get var name and value from function? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-253296@lists.php.net to get a copy of this message | ||
On Thu, April 19, 2007 9:21 am, Tijnema ! wrote:
> Hmm, that's quite ugly, what happens when defining a variable outside,
> and inside a function. and then get the reference to it? Will the
> first var be overwritten, and when the function ends, it will refer to
> the old var again?
I can't un-twist your sentence into code, but if you can, you could
probably test it and find out faster than we could answer...
:-)
--
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/browse/from/lynch
Yeah, I get a buck. So?