Re: active or global symbol table?
| From: | Zeev Suraski | Date: | Mon, 29 Nov 1999 21:56:40 +0000 |
| Subject: | Re: active or global symbol table? | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-7071@lists.php.net to get a copy of this message | ||
No, as far as I recall, this function is also used by the PHP-callable function (parse_string() or something like that), and this function has to run in the context of the current function (or global scope, if we're in the global scope).
At startup, active_symbol_table and the global symbol table should be the same.
Zeev
At 20:29 29/11/1999 , Andrei Zmievski wrote:
Line 172 in ext/standard/post.c has: symtable1 = EG(active_symbol_table); Shouldn't it be &EG(symbol_table)? -Andrei * Use the source, Luke. *-- Zeev Suraski <zeev@zend.com> http://www.zend.com/