4 ms·
The PHP team is absolutely obsessed with backward compatibility. They broke surprisingly few things with PHP 7, and everything they broke was clearly documented
by kijin 10y ago
The PHP team is absolutely obsessed with backward compatibility. They broke surprisingly few things with PHP 7, and everything they broke was clearly documented.
You don't get to power a significant fraction of the world's most important websites if you break backward compatibility every few months.
- vgy7ujm 10y agoPHP in itself perhaps but I have seen major efforts being put into 5.3 -> 5.6 and 5.6 -> 7.x. One thing that broke badly was phpunit and related libs for mocking etc. This was a very vanilla PHP project by the way, no frameworks etc.
- bpicolo 10y agoThey broke an unusual number of things in 7.1, a couple somewhat annoying e.g. defaulting DateTime('now') to including microseconds, without a single builtin function available that can strip/change microseconds on a datetime.
- captn3m0 10y agoYes, but they decided to keep it to 7.1, not 7.0, which meant the majority of the perf upgrades were available to most users who migrated to 7.0 _easily_. 7.1 was where all the breaking changes got pushed as a result.