[15:13:07] well, that was fun. I've built up the list of extensions until it started happening, then narriwing it down again, all the way back down to nothing/defaults and it still happens. So that presumably means the stuff I installed along the way for those extensions changed the behaviour but with a lasting effect outside the extension I installed it for. [15:19:44] ouch, that doesn’t sound like fun at all [15:36:15] It turns out the offending extension is readline? I initially used readline because I wanted to be able to use `php -a` to test it quickly from the CLI, and that initially told me I had to use readline which is optional and not included by default. [15:36:45] Then I switched to libedit which fulfills the same dependency and didn't really think twice about it [15:40:09] Or rather libedit, readline makes it behave correctly [15:40:19] https://github.com/search?q=repo%3Agnu-mirror-unofficial%2Freadline%20setlocale&type=code [15:40:20] https://github.com/search?q=repo%3Acdesjardins%2Flibedit%20setlocale&type=code [15:40:31] probalby one of those setlocale calls is undoing something [15:40:53] so not exactly causing so much as messing with my test case. Alright. Let's do it as a regular php file then. [15:41:20] https://en.wikipedia.org/wiki/Observer_effect_(physics) [15:58:06] Yep, okay, plain compile, nothing non-default fails on macOS 15, and passes on a Debian Linux 13 container compiled from the same git hash. [15:59:15] https://gist.github.com/Krinkle/f92b704589365d1bd9189d4ab4845a41