Re: extract() and symbol tables...
| From: | Andrei Zmievski | Date: | Wed, 05 Jul 2000 19:17:57 +0000 |
| Subject: | Re: extract() and symbol tables... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-5044@lists.php.net to get a copy of this message | ||
On Wed, 05 Jul 2000, adam beecher wrote:
> Before I ask the real question, a lead-in:
> Is a separate symbol table created for user-defined functions?
>
> 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?
They are imported into the local symbol table.
-Andrei
"Computers are useless. They can only give you answers."
--Pablo Picasso