Hello Lars,

   actually this is a very good idea and should work :-)

marcus

Tuesday, July 22, 2008, 10:15:03 PM, you wrote:

> Hi Stas,

> Am Dienstag, den 22.07.2008, 13:09 -0700 schrieb Stanislav Malyshev:
> [...]
>> I'm all for doing it, the problem is the syntax $foo->bar() is already 
>> used. But you can do $foo->bar->__invoke()!

> Can't we change zend_std_get_method() to return a zend_internal_function
> struct in case of a closure on a property? The only thing that needs to
> be done would be to define the resolution order which is the trickier
> thing.

> cu, Lars



Best regards,
 Marcus


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to