> lot of old PHP are only ever going to risk the smallest upgrade they can, to avoid deprecation issues in extremely old codebases.
This is becoming a rapidly dangerous mindset. The cost and risk of forking and fixing an abandoned piece of code is trending to zero and the risk of being pwned when leaving an EOL library publically exposed to the internet is trending to 100%.
Even the cost and risk of completely removing an unmaintained library is also trending to zero.
LLMs have a lot more patience for enumerating test-cases, automating tests and creating staging environments and magnitudes more than sysadmins have ever had.
The case for "don't touch it don't break it" is getting increasingly indefensible.
Not saying this is necessarily the case here, but you vastly underestimate just how enormously untested and fragile these legacy systems can be. Even an LLM can need a very skilled operator to succeed in such an environment.
These kinds of systems often not only rely on every possible bug, they can rely on every possible side channel as well. And they often don't have any sort of testing or staging environment where screwups are recoverable.
I don't disagree with any of this. But it is the case.
And you have to remember that a lot of this code is just not in reproducible environments. So there's a fair chunk of setup effort involved in even getting an LLM to be able to safely work on it.
Like I say, the "left behind" tax is a serious problem with this stuff.