2011/11/30 Nikita Popov <nikita....@googlemail.com> > If we really want this kind of (expr)-> syntax, then it should really > accept *any* expr. But I am not quite sure whether this will work out > easily because in this case we can't be sue that expr is an object > (but maybe it'll be simple, I just don't know). >
Same as now worked: func()->something; or $a = 123; $a->makeMagic(); If $a or result of func not objects its throw error. To all: I think we can adding (expr)->methodOrNot , (expr)[expr] , (expr)(params) and it combinations: (expr)[expr](params)->method etc. Is it good or bad user chooses himself. Maybe will be something like JQueryPHP :D I think the only thing that can in principle prevent us - slowdown PHP. With regards, Alexander Moskaliov ir...@irker.net