Re: Re: __invoke concerns

From: Date: Mon, 04 Aug 2008 05:06:59 +0000
Subject: Re: Re: __invoke concerns
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-39595@lists.php.net to get a copy of this message
Hi!
1) With the interface, the prototype is fixed.
That definitely would not work. Interface could leave __invoke undefined, though then it'd be more of documentation/attribute purpose than enforcing having __invoke. But it can be workable.
However, I'd still like to make closures more flexible and internals-friendly by implementing zend_get_closure as a handler.
Hmm... it may work, at least at the first glance I don't see any trouble with it. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#39595) next »