Re: Calling symbol table patch
| From: | Zeev Suraski | Date: | Mon, 20 Nov 2000 22:20:22 +0000 |
| Subject: | Re: Calling symbol table patch | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-38713@lists.php.net to get a copy of this message | ||
At 23:48 20/11/2000, Andrei Zmievski wrote:
On Mon, 20 Nov 2000, Zeev Suraski wrote: I agree with you. I don't have a very good solution to give you... I think that weighting all of the factors, the right thing to do would be supplying your function with the local symbol table at call time. It's a bit clumsy for your specific purpose, but the alternatives are worse, in my opinion. Well, then, like you say, there is no good solution. I will have to find a shortcut to doing get_defined_vars() or whatever. Perhaps, some creative aliasing in my script will help.Yep, that would probably be the way to go... Until we have macros :) -- Zeev Suraski <zeev@zend.com> CTO, Zend Technologies Ltd. http://www.zend.com/