Re: extract() and symbol tables...
| From: | Rasmus Lerdorf | Date: | Wed, 05 Jul 2000 19:21:55 +0000 |
| Subject: | Re: extract() and symbol tables... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5046@lists.php.net to get a copy of this message | ||
> Before I ask the real question, a lead-in:
> Is a separate symbol table created for user-defined functions?
Yes
> Now, the real question:
> When running extract() inside a user-defined function, are the variables
> imported into the global symbol table, or to a symbol table local to the
> function, assuming the answer to Q1 was yes?
local, that's why the extract() docs say 'current symbol table'.
-Rasmus