php-general | 2000071
Date: 07/05/00
- Next message: Chris Campbell: "Re: [PHP] imap_setflag_full not setting \\Seen flag"
- Previous message: Matthew Leverton: "Re: [PHP] Opening files via ftp and displaying connection stuff"
- In reply to: adam beecher: "[PHP] extract() and symbol tables..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Chris Campbell: "Re: [PHP] imap_setflag_full not setting \\Seen flag"
- Previous message: Matthew Leverton: "Re: [PHP] Opening files via ftp and displaying connection stuff"
- In reply to: adam beecher: "[PHP] extract() and symbol tables..."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

