←back to thread

PHP 8.5

(stitcher.io)
215 points brentroose | 1 comments | | HN request time: 0.199s | source
Show context
darkamaul ◴[] No.45990664[source]
PHP's evolution since PHP 5 has been substantial, and I think this is a real problem. As someone who learned the language years ago, the pace of change (generics, attributes, match expressions, typed properties) makes modern codebases genuinely difficult to follow.

I suspect this affects many developers who cut their teeth on PHP but haven't kept up. The language has become a different beast, which is a strength for the community but a barrier to re-entry.

replies(12): >>45990804 #>>45990834 #>>45990835 #>>45990949 #>>45991400 #>>45992500 #>>45992620 #>>45992776 #>>45993443 #>>45993687 #>>45995052 #>>45995108 #
johnisgood ◴[] No.45990835[source]
I think PHP is way better now than it used to be. Learn PHP 8 and you are good to go.
replies(1): >>45993127 #
erickf1 ◴[] No.45993127[source]
Until two years later the same thing is said about PHP 9, 10, 11. Constant change is not good.
replies(2): >>45993354 #>>45996473 #
1. kyriakos ◴[] No.45996473[source]
It gets updated but breaking changes are not that many and always well justified. Most breaking changes I've seen the past decade only broke if your code was already bad relying on non standard ways of using language features. There are tools that help with migration.