The PHP 7 Revolution: Return Types and Removed Artifacts

Then don’t upgrade? You shouldn’t upgrade your production box without checking how well your code runs on it to begin with. Doing so is always dangerous, regardless of how “stable” you feel the language is.

So are you saying if the PHP devs mark them as deprecated in 5.6.X you’ll be okay with it? As I doubt that. Plus I have a feeling deprecating a constructor syntax is much more difficult than deprecating an actual function/method. I’m sure it can be done, but it isn’t as easy as marking a function with [deprecated].

Which languages? As again, look at all of the other web related languages, .NET, Java, Python, Perl, etc. (either in past or present versions) All have introduced breaking changes at major versions.

2 Likes