In Reddit.com there's a great discussion all started by a simple question - What would you change about PHP if you could dictate the next major version?
We know that PHP has flaws, though it's the best language for web programming, at least in my opinion. How would you improve it?
There's tons of answers (some valid, some are just trolls coming out to play), here's just a few:
- Named parameters
- Add scalar type hinting
- True multi-threading support
- Property accessors
- Strings as objects
- A native namespace
- Return typing
- Default autoloading
There's lots of discussion around some of these (and plenty of others not even mentioned) so be sure to check out the full post for more great ideas.