14 ms·
I think PHP is missing some kind of LTS which adds another year (or two) of support or some more stability. I wanted to say Dotnet has a longer cycle, but they
by chrisandchris 4y ago
I think PHP is missing some kind of LTS which adds another year (or two) of support or some more stability. I wanted to say Dotnet has a longer cycle, but they have 2 years for regular and 4 year for LTS releases, while PHP has 3 years for every minor. So not that much better.
However, I had to migrate some 30k LOC app from Dotnet 3 to 6 this year and it was quite straight forward. Not that many thinks broke, and when then they were in the bootstrapping of the app.
I'm not that much into PHP anymore, so my take might be wrong. I wouldn't like to upgrade each year to a new version which breaks syntax. I would be ok to migrate every 3 or 4 years from LTS to LTS.
- nolok 4y agoPHP is mostly run on Linux, and the LTS version of PHP is essentially the one shipped with your distribution. They backport most security fixes. To use the latest PHP 8.2 version Debian or Ubuntu users need to add an external package source, meant specifically to be "on the edge" for PHP, deb.sury.org