A test that saves object numbers tests PHP, not your code
Miguel Sampedro added one line to a Symfony AI pull request and 25 tests failed, although not a single assertion had changed. The cause was in the saved expected results: they contained the internal numbers PHP gives to objects while it runs. Add one object and every number after it shifts, so every comparison breaks. Those tests were checking something nobody ever meant to check, the order in which PHP creates things. The fix was to stop saving those numbers. What I take from it: a test should only remember what I would defend in a review. Anything the machine makes up on its own is noise, and sooner or later it makes a harmless change look like a bug.
// MORE SHORTS
The patch was one link in a long chain →
The PHP team shipped its critical fixes on the day it announced. For most of us the update arrived hours later, through the people who build the images and binaries.
// MORE SHORTS
A security release announced before its details →
The PHP security team announced on php.internals that a release on Wednesday, October 21 at 14:00 UTC fixes two critical vulnerabilities, both rated CVSS 4.0 9.2. It says nothing about what they are, and it reserves the right to release earlier if details leak or exploitation shows up.