3 ms·
Yep, thankfully PHP respects semantic versioning. Much like Python 3 broke 2.x compat, PHP 9 breaks 8.x compat. Although the truly backward compat breaking chan
by TheRealPomax 5y ago
Yep, thankfully PHP respects semantic versioning. Much like Python 3 broke 2.x compat, PHP 9 breaks 8.x compat. Although the truly backward compat breaking changes are quite few, and uplifting 8 to 9 will be fairly low effort (and almost certainly something that linting can spot for the vast majority of code bases with near-trivial fixes).
We had to do this when we went from v4 to v5, we had to do this when we went from v5 to v7, we had to do this (but less so) going from v7 to v8, so if having to do this from v8 to v9 as well is suddenly too much work, either you haven't been using PHP for very long, or you took a weird moment to suddenly take exception with codebase migrations. Especially as, of all the version updates so far, 9 promises to be by far the most worth it.