Quantcast
Channel: PHPDeveloper.org
Viewing all articles
Browse latest Browse all 1515

Reddit.com: What would you change about PHP if you could dictate the next major version?

$
0
0

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.

Link: http://www.reddit.com/r/PHP/comments/1iw0cj/what_would_you_change_about_php_if_you_could

Viewing all articles
Browse latest Browse all 1515

Trending Articles