Re:AI is forcing us to pay off 40 years of technical debt
by anthk on Wednesday November 04, 2026 @09:52AM
(#50366339)
There's a PHP implementation written in Rust.
[ Parent
| on HN ]
Re:AI is forcing us to pay off 40 years of technical debt
by TedDoesntTalk on Wednesday November 04, 2026 @10:08AM
(#50366632)
This is incredibly interesting. Thanks for mentioning it. Unfortunately it’s not yet ready:
I’ll keep checking
Re:AI is forcing us to pay off 40 years of technical debt
by dotancohen on Wednesday November 04, 2026 @10:38AM
(#50367126)
It runs everything that any software I've ever written needs - and I've been doing PHP since dates began with `19`.
Re:AI is forcing us to pay off 40 years of technical debt
by TedDoesntTalk on Wednesday November 04, 2026 @10:51AM
(#50367348)
But since php isn’t complied, how would I know if something is broken until every code path is exercised? Genuine question
Re:AI is forcing us to pay off 40 years of technical debt
by dotancohen on Wednesday November 04, 2026 @11:00AM
(#50367483)
You exercise every code path with a unit or integration test.
I tend to write integration tests for the paths users take through the application (website), and fill in the holes with unit tests. I'll also write unit tests for methods that change often or are critical, such as business logic.
Re:AI is forcing us to pay off 40 years of technical debt
by actionfromafar on Wednesday November 04, 2026 @11:06AM
(#50367579)
I wonder if PHP compiled with Fil-C would have stopped that bug. My guess is it would have.
Re:AI is forcing us to pay off 40 years of technical debt
by mbrock on Thursday November 05, 2026 @02:36AM
(#50376265)
My tests show that it would. The post-patch integration tests trap under Fil-C, and the StealMyBitcoin exploit chain traps too.
https://mbrock.github.io/filnix/docs/php.html
It’s also compatible with most PHP native extensions.