Thirteen years ago this week, php.net launched the design you still see today, with a commit message that read "GO LIVE WITH NEW DESIGN. GO GO GO GO!" Every attempt to replace it since has stalled. Until, maybe, now.
Hello world, it's Thursday, November 26, 2026, and here's what happened This Week in PHP Internals. 19 stories this week, so let's get into it. But first,
This week's episode is sponsored by Artisan Build, which is us. If you've got a PHP project that needs senior developers, book a call at artisan.build/start, or send us a DM on any platform.
PHP.net Redesign (00:46)
This week's top story: php.net may get its first homepage redesign in 13 years. Matt Stauffer posted one from the PHP Ambassadors marketing group, as a pull request with a live preview. The goal is a homepage that's more welcoming to newcomers and shows what modern PHP offers. He opened it on November 20th, 13 years to the day after php.net announced its current design. That design spent about three years as an opt-in beta, and went live with a commit that read, "GO LIVE WITH NEW DESIGN. GO GO GO GO!"
There was no RFC. Matt says it came mainly out of discussions on the webmaster mailing list. Since then, proposals to rewrite or replace it in 2014 and 2019 went nowhere, and a 2020 pull request was closed as outdated. The homepage got a new hero section in 2022, but it's still mostly a news feed, and it still has no dark mode.
Back in 2019, Levi Morrison, who says he did the 2013 redesign, wrote: "If you think the current PHP website is old, out-dated, and bland, you must have not experienced the previous one." The release pages are where the design moved, with 8.5's coming out of a design contest last year. Matt's redesign builds on that page.
Links: The pull request (no merge before December 4) · Live preview
Redesign Feedback (02:18)
Most of the first replies were warm. Larry Garfield called it "orders of magnitude better than the current front page", though he wants more purple. Juliette Reinders Folmer misses the elePHPants and finds the look corporate, which Matt says is deliberate, to help make PHP's case in boardrooms. She also wants the footer's Donate button renamed, because, she wrote, "This is not charity. This is funding for business critical software." Kalle Sommer Nielsen wants the Twitter link back and an RFC, given the scale of the change. Matt pointed out that the 2013 redesign and the 8.5 release page both shipped without one, but if an RFC is the only way forward, that's what they'll do. Either way, there's no merge before December 4th.
I'd love it if you'd tell us in the comments what you do and don't like about this new proposed design, and what you may or may not miss from the current one. To weigh in where Matt is collecting feedback, the pull request and the list thread are linked below, with how to join the internals list, the RFC process and the PHP Community Discord.
Links: The pull request (no merge before December 4) · Matt Stauffer, "PHP.net homepage redesign — feedback requested" · Subscribe to the internals mailing list · How the RFC process works · The PHP Community Discord (a community server, not an official PHP one)
Docker ZTS (03:26)
Docker's official PHP 8.6 images shipped as thread-safe builds only, and the list wanted to know who asked for that. PHP comes in two builds. NTS, the non-thread-safe one, is PHP's default, and ZTS is the thread-safe one that FrankenPHP and the parallel extension need.
On Friday, Matteo Beccati, one of the 8.6 release managers, asked whether that had been an official request from the project. He wrote: "If not, I'm not sure it was appropriate to experiment like this on such a large user base, before publishing an RFC, discussing it and voting." Gina P. Banyard and Benjamin Außenhofer answered that these are Docker's official images, not the PHP project's, so no RFC applies. Marc Henderkes, who suggested the switch and wrote the change, said his question was never taken as official by Docker's maintainers. Matthew Sewell's reply was that Docker's maintainers made the change because they thought the PHP project had asked. He wrote: "I think this is a process question rather than a technical one."
On GitHub, Docker maintainer tianon said flipping the default back would be a breaking change, days after release. So on Wednesday he merged an nts variant instead, for 8.6 only. ZTS stays the default. Benjamin named the one change regular users may notice: on ZTS, max_execution_time counts wall-clock time instead of CPU time. That's an open issue on php-src.
Links: Matteo Beccati, "Docker images for 8.6 now default to ZTS" · docker-library/php: an 8.6 nts variant and zts aliases (merged Nov 25)
JSON Comments (05:12)
Your JSON config files may soon be allowed comments. Otar Chekurishvili's RFC adds two opt-in flags to json_decode and json_validate, one for comments and one for trailing commas. Without the flags, strict JSON stays the default. Voting opened on Wednesday, with a separate vote for each flag. The comments flag is at 11 to 0 so far. The trailing-commas flag is also at 11 to 0. Both votes close December 9th.
And personally? I love this proposal, and I think it's way overdue. I love how it's structured, and I'm very excited for it. Trailing commas in arrays and function signatures are literally my favorite PHP feature, so this is a step in the right direction.
Links: Opt-in JSON Comments and Trailing Commas RFC
Sunset PECL (06:01)
The vote to shut down PECL didn't open on Wednesday after all. James Titcumb's RFC would shut it down at the end of 2027. Tim Düsterhus says that's too fast. PHP 8.6 still has the --with-pear build flag, and the earliest it can go is PHP 8.7, next November, just one month before the shutdown. So he'd extend it through 2028. James isn't convinced. He says it means an extra year of manually removing vulnerable packages, and he'd leave that call to Derick Rethans, whose job that mostly is. Derick replied: "I think the idea would be to stick this in a repo, so anybody could then make a PR to hide these things. Shouldn't have to be just me." The RFC still says the end of 2027.
Links: Sunset PECL RFC
Working Groups (06:52)
Ben Ramsey's Working Groups RFC got stricter this week, and Tim Düsterhus thinks that made it worse. Larry Garfield's membership rules were merged in: a minimum number of members, and a process for removing them. Ben says the point of a working group is transparency, and that the final RFC from one is "primarily a formality". Then, this morning, Tim wrote: "Overall I feel that this update made the proposal even worse" His example is the infrastructure team, which he thinks is 2 people today. Under the new rules, a single resignation could dissolve it automatically, leaving no one authorized to maintain the servers, he says, or to hand them over. There's no vote yet.
Links: Working Groups RFC
Lazy Iterators (07:41)
A first-time poster wants PHP's iterators to get the array_* treatment. Paweł Wankiewicz proposes 11 iterator_* functions, like iterator_map, iterator_filter and iterator_reduce, that work through an iterator one item at a time, and fit straight into a pipe. Today, you'd call iterator_to_array first, which loads everything into memory. On 5 million lines of JSON, he measured 3.1 gigabytes that way, against 11 kilobytes for iterator_reduce. He also disclosed that he wrote the implementation with help from Claude, and that the design decisions are his.
Ilija Tovilo replied: "Small heads-up that this has been on my TODO list for the longest time. I was planning on collaborating with Tim Düsterhus on a similar proposal." The hard part, Ilija says, is speed compared to a plain loop. Paweł's own numbers have a filter, map and reduce chain 2.2 times slower than foreach with the JIT. He offered to collaborate, and Ilija granted him RFC karma either way.
I really like this one. It starts from a problem you can actually measure. Paweł volunteered how he used AI without anyone asking. Ilija pointed out it's been sort of planned for a while, and left the door open to working on it together. To me, this feels like the perfect example of how the list is meant to work. I'm super interested to see how this one progresses.
Links: Paweł Wankiewicz, "[Pre-RFC] Lazy iterator_* functions"
Deprecated Interfaces (09:12)
PHP's Deprecated attribute can't go on an interface today. Daniel Scherzer's new RFC allows it there, so implementing or extending one emits a deprecation. Larry Garfield called it "an obvious addition". At Tim Düsterhus's suggestion, instanceof checks and type declarations won't warn. The open question is a hierarchy. If a library deprecates its own interface because the parent it extends is deprecated, Tim would hide the parent's warning. Daniel thinks that might be a footgun, and has asked for other opinions.
Links: Deprecated interfaces RFC
Delayed Votes (09:51)
Two RFCs that announced votes this week are now waiting. Pratik Bhujel planned to open voting on Io\Terminal on Tuesday, then held off after one more review from Tim Düsterhus. Version 0.7 came the same day, spelling out $columns instead of $cols, and adding an EofException, so callers can handle the end of input separately.
And Ayoub Ezzini withdrew his array_partition vote for tomorrow. Tim pointed out that his last change needs a two-week cooldown, which would push the vote into the holidays, so it now opens after them.
Links: Io\Terminal RFC · array_partition() RFC
String Matching (10:28)
Str\Matcher has a vote date, and a naming question. Artem Ukrainskiy's version 0.5 targets PHP 8.7, keeps its names, and goes to a vote on January 11th, after the holidays. The same evening, Tim Düsterhus objected to the new Str namespace. It would be the first namespace for one of the scalar types, and he says that needs "strong justification", and a plan for the whole hierarchy. He also finds the class names awfully generic, and suggested StrSet or StrSetMatcher in the global namespace instead. Artem hasn't replied yet.
Links: Prepared Literal String Matching and Replacement RFC · Tim Düsterhus on the Str\ namespace
Under the Hood (11:09)
Three engine proposals moved this week. The proposal to share identical opcode arrays between cached scripts got its first answer, from Arnaud Le Blanc. It doesn't need an RFC, he says, and can be discussed in a pull request. But it breaks the assumption that the same opcodes mean the same function, and by the proposal's own security review, one tenant can break into another.
Matthieu Napoli measured Levi Morrison's alternative to a single binary for CLI and FPM, a shared library. Lambda cold starts improve just the same, but on x86-64 it ran up to 7.7% slower, unless it's built with -Bsymbolic, which needs bigger changes for distributions. So Matthieu still prefers the single binary.
And Tim Düsterhus reviewed Kévin Dunglas's request lifecycle hooks for worker-mode servers, asking what happens to an open php://input stream between requests.
Links: Arnaud Le Blanc on OPcache dedup · Single binary for CLI and FPM RFC · Request lifecycle hooks RFC
New Proposals (12:12)
Four new ideas arrived this week. This morning, Marc Henderkes proposed removing the mm session handler instead of making it thread-safe. None of the common distributions enable it, and he found no public mention of it since 2008. Hassan Ahmed wants PDO::FETCH_GROUP to let you choose the column it groups by, instead of always the first one.
Robert Chapin suggested a double question mark on parameter types, so a function could accept an unset variable without a warning. Tim Düsterhus says that's a linter's job. Larry Garfield replied: "We do not need language syntax to make bad code pretend to work."
And Gregory Magarshak proposed that PHP 9 only include .php and .phar files, and refuse to write them. Replies pointed out that template engines like Twig and Blade compile to PHP files, and Craig Francis pointed back to his is_literal RFC.
Links: Marc Henderkes on removing the mm session handler · Hassan Ahmed's PDO::FETCH_GROUP pull request · Robert Chapin, "Null Coalesce Handling Revised" · Gregory Magarshak, "Common-sense security hardening"
Quick Hits (13:15)
Quick hits. grapheme_str_pad is at 13 to 0, up from 6 last week, and its vote closes December 2nd.
Links: grapheme_str_pad() RFC
On PASSWORD_BCRYPT_WRAP, Jakub Zelenka wrote that PHP shouldn't create its own password hashing algorithm, and that, if anything, he'd support the simpler bcrypt-sha256.
Links: Jakub Zelenka on PASSWORD_BCRYPT_WRAP
Xavier Leune will switch his curl callback to a single URI, at Tim Düsterhus's suggestion, and Tim called gethostaddresses a good short-term fix.
Links: Vetting cURL connections RFC · Tim Düsterhus on gethostaddresses()
Máté Kocsis simplified query parameters, Larry Garfield ruled out NoDiscard for context managers, Juliette's b prefix deprecation found 2 uses in the top 10,000 packages, and Ignace Nyamagana Butera asked the CSV extension to throw on infinity and NaN.
Links: Query Parameter Manipulation Support RFC · Context Managers v2 RFC · PHP 8.7 deprecations: the b prefix · CSV extension RFC
TL;DR (14:10)
So that's the week. php.net has its first homepage redesign in 13 years up for feedback, with no merge before December 4th. Docker's PHP 8.6 images stay thread-safe by default, with an nts variant if you need it. JSON comments are 11 to 0 in voting, and the PECL shutdown vote didn't open, with the timeline still in question. Links below.
The PHP Foundation funds more than half of ongoing php-src commits, so if you use the language, maybe consider donating at opencollective.com/phpfoundation, or try guilting your employer into it.
If you found this useful, a like or a comment helps more people find it. And if you missed last week's episode, where PHP 8.6 came out alongside 7 critical security fixes, that's a good one to watch next. And if you'd like to work with us, book a call at artisan.build/start. We're Artisan Build. See you next week.