Re: [PHP-DEV] Calling symbol table patch From: Zeev Suraski (zeev <email protected>)
Date: 11/20/00

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 <email protected>>
CTO, Zend Technologies Ltd.  http://www.zend.com/

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>