Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Reddit.com:
What would you change about PHP if you could dictate the next major version?
Jul 24, 2013 @ 17:46:54

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.

tagged: version change discussion idea version opinion

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


Trending Topics: