On 19.01.2010, at 18:03, Chris Stockton wrote: > Hello, > > On Mon, Jan 18, 2010 at 5:27 PM, Stanislav Malyshev <[email protected]> wrote: >> I wrote a small patch that enables this kind of syntax in PHP: >> >> foo()(); >> ... > > I think language enhancements with no BC breaks that offer a wider > toolset to programmers is a good thing. I would also like to see the > other ideas in this thread implemented such as array access & object > creation.
enhancements in the sense that they enable things that were not possible before, sure. syntax sugar that hurts readability, not really. if you are worried about key strokes switch to an IDE. if you are worried about performance use a byte code cache. regards, Lukas Kahwe Smith [email protected] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php
