● ResearchNov 2, 2026 · 04:221 source
When Modernization Breaks Working Code: A Study of LLMs on Legacy PHP
From arxiv.org
AI;DR
Five LLMs were asked to modernize 100 WordPress 4.0 PHP files to PHP 8.3 while preserving behavior. Untouched, 83 files already passed every check, while the best LLM left only 59 passing. Each model broke 32-51 working files, whereas Rector broke 7 and repaired 6.
Read originalSign in to suggest
Sources
+ 1 more
- DISCUSSIONtambourine_mannews.ycombinator.com