Hi, 2011/5/22 Matthew Weier O'Phinney <weierophin...@php.net>
> One thing not on the RFC that I'm curious about: if the class defines > __invoke(), would the following work? > > new MyClass()(); > > That would be particularly useful for implementing helper systems, which > are quite often one-off use cases. > > No, such feature was not planned in the RFC, the patch doesn't change the grammar to allow it. -- Regards, Felipe Pena