Re: Calling symbol table patch
| From: | Zeev Suraski | Date: | Mon, 20 Nov 2000 20:53:18 +0000 |
| Subject: | Re: Calling symbol table patch | ||
| References: | 1 2 3 4 5 6 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-38680@lists.php.net to get a copy of this message | ||
At 22:47 20/11/2000, Andrei Zmievski wrote:
On Mon, 20 Nov 2000, Sterling Hughes wrote: I don't think its really a good idea for a function to have access to the scope of the function that called it (and be able to modify it). That just makes me a little queasy somehow. You shouldn't be able to modify and access one functions scope from another function. The patch does not make any provisions for modification. Only accessing the value of the variables in the outer calling scope.It's still wrong... I'm not aware of any language that lets you do that (well, perhaps TCL ;) Zeev -- Zeev Suraski <zeev@zend.com> CTO, Zend Technologies Ltd. http://www.zend.com/