AINewsIQ by Triuna Labs
Menu
SOURCE-LINKED SIGNAL / DISCUSSION / AGENTS

When Modernization Breaks Working Code: A Study of LLMs on Legacy PHP

READ THE ORIGINAL SOURCEOpen original sourcearxiv.org · Opens in a new tab

The paper studies single-file LLM modernization of 100 WordPress 4.0 PHP files to PHP 8.3, with five LLMs, no project context, and no execution feedback. Outputs were checked with 630 hidden behavioral checks and 511 Rector-detected modernization findings, and compared against unchanged originals and the rule-based tool Rector. Untouched files passed 83 checks, while the best LLM passed only 59. Each LLM broke 32-51 working files, versus 7 for Rector. Most damage occurred in files needing no change.

Recorded links

One primary source; other links are context, not independent corroboration.

A community post points to the original link. Discussion and upvotes do not establish accuracy.

Open full article view →
How this score was derived
  • Community discussion+5
  • Fetched source page+30
  • No editor link review+0
  • Community link+0

This measures the stored source trail and editorial steps. It does not certify accuracy, peer review, or independent corroboration. Popularity adds no points.

View full scoring →Read the scoring rubric →

What the source says

The paper studies single-file LLM modernization of 100 WordPress 4.0 PHP files to PHP 8.3, with five LLMs, no project context, and no execution feedback. Outputs were checked with 630 hidden behavioral checks and 511 Rector-detected modernization findings, and compared against unchanged originals and the rule-based tool Rector. Untouched files passed 83 checks, while the best LLM passed only 59. Each LLM broke 32-51 working files, versus 7 for Rector. Most damage occurred in files needing no change.

How to read this signalSix questions about claims, sources, risks, and open checks

This is a signal-level guide until claim-level evidence is available. “Not recorded” means the evidence has not been assessed here; it does not mean a result is false. How we check AI news →

  1. 01
    Who is making each claim?

    The claimant and whether each claim was measured or asserted are not recorded in this public brief.

  2. 02
    What was actually tested?

    Not recorded per claim. Check the source for sample size, tasks, model and benchmark versions, and reproducibility.

  3. 03
    Where are the sources?

    Original link: arxiv.org. Brief basis: fetched source page. Primary page date and quote locations are not established in this panel.

  4. 04
    What could mislead?

    Source claims not independently checked; results are limited to single-file tasks on WordPress 4.0 PHP files without project context.

  5. 05
    What is at risk if wrong?

    Not assessed per claim. Consider safety, privacy, cost, and adoption decisions before relying on the result.

  6. 06
    What would change the view?

    No claim-specific check is recorded. An inspectable primary method or independent replication could change the assessment.

Key findings from the stored brief

  • Untouched originals pass every check on 83 files; the best LLM leaves only 59 passing.
  • Each LLM breaks 32-51 working files while repairing at most 10; Rector breaks 7 and repairs 6.
  • Only 37 findings (7 percent) require a change under PHP 8.3, yet LLMs break 36-60 percent of compatible files.
  • Many regressions come from files that no longer load, often due to type declarations PHP rejects.
Read with care

Source claims not independently checked; results are limited to single-file tasks on WordPress 4.0 PHP files without project context.

This is a source-based abstract, not independent validation of the source's claims.

Discussion

Comments are reviewed before publication. Discuss the evidence, not the person.

No published comments yet.

Reader discussion opens with accounts. You can read the original source and published comments now.