PHP 7
github.com
github.com
Sure, PHP (trunk) as it stands today is flawed, but it is constantly getting better. We've recently got finally for the try/except construct, we've recently obliterated Logo GUIDs (thanks to me), you can now iterate through an array of arrays and assign the values to multiple variables with the list() construct (a la Python), and it looks like we'll soon get Generators: https://wiki.php.net/rfc/generators#vote
Also, if we don't see a 5.5, then 6 would be next, and for that there are a lot of big changes you could make. NikiC is considering rewriting the PHP compiler to use an AST so we can have multiple-pass compilation, for instance.
PHP is slow to evolve, but in part that's a result of the PHP team trying hard to preserve backwards compatibility for well-written code.
Has anyone tried this? Is it stable?