On Sat, 2014-08-30 at 18:33 +0800, Tjerk Meesters wrote: > > The closest I could come to a rebuttal is if there’s no real need to > make the syntax so restrictive, why not make it less restrictive? > This is a good criterion when adding a new syntax. A change to existing syntax features needs further arguments. Mind that such changes not only impact BC for existing scripts which in this case can be detected easily, but also has to be reflected in tools like IDEs which have to highlight it correctly based on version and developers have to learn this (need to read long heredocs with more attention as the terminator might hide more and developers have to be aware that when using the new form their application won't work anymore on older platforms, this is more clear with distinct new features)
Overall I'm +0.25 on this change - the current limitation annoyed me often enough, but the cost of such a change (see above) is too high compared to the tiny win. johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php