r/symfony • • 4d ago

Weekly Ask Anything Thread

1 Upvotes

Feel free to ask any questions you think may not warrant a post. Asking for help here is also fine.


r/symfony • • 23h ago

News This Week in PHP Internals | Nov 26, 2026

Thumbnail
youtu.be
0 Upvotes

While the Internals list is not technically directly Symfony related, it does affect every single one of us.

Preface: what follows is the word-for-word transcript of the spoken dialogue in the video, chapter by chapter with timestamps, for anyone who'd rather read than click through. If this digest is still too long for you, we recommend copying it into your LLM of choice and asking for a summary of our summary.

Cold Open (00:00)

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.


r/symfony • • 1d ago

Symfony Agentic Skill CHANGELOG-8.2.md?

5 Upvotes

I'd like to tell my coding agent "here are all the new features of Symfony 8.2, see what you can use immediately in our project."

Basically what a dev would do by reading all the "Living on the Edge" blog posts and figuring out how to use them.

Has someone published, or planned to publish, a description of all changes incoming in Symfony 8.2, as an agentic skill or something approaching?


r/symfony • • 3d ago

The Symfony Demo and an EasyAdmin back office, running entirely in the browser with PHP compiled to WebAssembly

Thumbnail
blog.lyrixx.info
21 Upvotes

r/symfony • • 3d ago

CVE-2026-133778 Live Components Configured With a Custom Route Can Still Be Reached Through the Default Route

Thumbnail
symfony.com
6 Upvotes

r/symfony • • 4d ago

Twig 3.31.0 released

Thumbnail
symfony.com
18 Upvotes

r/symfony • • 4d ago

New in Symfony 8.2: Cache Improvements

Thumbnail
symfony.com
22 Upvotes

r/symfony • • 4d ago

Symfony UX 3.8 released: The Optimization Update

Thumbnail
symfony.com
13 Upvotes

r/symfony • • 4d ago

Black Friday 2026: Exclusive Deals for the Symfony Community!

Thumbnail
symfony.com
1 Upvotes

r/symfony • • 4d ago

New in Symfony 8.2: Console improvements

Thumbnail
symfony.com
25 Upvotes

r/symfony • • 5d ago

A Week of Symfony #1038 (November 16–22, 2026)

Thumbnail
symfony.com
7 Upvotes

r/symfony • • 5d ago

New in Symfony 8.2: New Mailer and Notifier Bridges

Thumbnail
symfony.com
18 Upvotes

r/symfony • • 6d ago

SymfonyCon Warsaw 2026: When vibes meets reality

Thumbnail
symfony.com
2 Upvotes

r/symfony • • 6d ago

New in Symfony 8.2: Redesigned Exception Page

Thumbnail
symfony.com
29 Upvotes

r/symfony • • 7d ago

SymfonyCon Warsaw 2026: Form Component Through the Ages: History of (not so) Black Magic

Thumbnail
symfony.com
2 Upvotes

r/symfony • • 7d ago

New in Symfony 8.2: Routing Improvements

Thumbnail
symfony.com
24 Upvotes

r/symfony • • 7d ago

Symfony New community InertiaJS adapter with v3 support

Thumbnail packagist.org
2 Upvotes

Good news everyone!

We've recently moved to using Symfony for some of our clients and one of our (very few) initial annoyances was we loved using InertiaJS on our Laravel sites, but the existing bundles were either abandoned, incomplete, or didn't have the same DX as working with the Laravel one.

With the exception of LiveProps, this adapter provides full support for all Inertia v3 features including full SSR support (including dev) when using our companion Reprise-based Vite plugin (NPM: Inertia Reprise).

We'll be looking into live-props once we get more acclimated with Mercure.

Any issues or comments can be left on our GitHub repo for the project: https://github.com/evo-mark/inertia-symfony

Documentation is here: https://evo-mark.github.io/inertia-symfony/

Note: We've also created and maintained the InertiaJS Wordpress adapter since 2024 in case you were worried about being left with yet another abandoned FOSS dependency.


r/symfony • • 7d ago

News This Week in PHP Internals | Nov 19, 2026

Thumbnail
youtu.be
1 Upvotes

While the Internals list is not technically directly Symfony related, it does affect every single one of us.

Preface: what follows is the word-for-word transcript of the spoken dialogue in the video, chapter by chapter with timestamps, for anyone who'd rather read than click through. If this digest is still too long for you, we recommend copying it into your LLM of choice and asking for a summary of our summary.

Cold Open (00:00)

PHP 8.6 is out today. Partial function application, a Duration class, a brand new polling API, and a lot more. And it shipped alongside security releases with 7 critical fixes. We'll get to both.

Hello world, it's Thursday, November 19, 2026, and here's what happened This Week in PHP Internals. 16 stories this week, so let's get into it. But first,

This week's episode is sponsored by… us, again. Since last week's call for work, we've taken a handful of calls, but nothing's locked in yet. So those 6 senior developer days a week are still open. If you've got a project in mind, book a call at artisan.build/start, or just send us a DM on any platform.

Corrections (00:54)

A correction to last week's social posts. On Mastodon, Threads and Pinkary, we wrote that Derick was okay with the shorter PECL timeline, and that Tim Düsterhus says the plan makes sense. But Tim's "makes sense" was about the first draft, before the timeline was cut. He hasn't commented on the shorter one yet, and he told us that he isn't 100% sure he likes it. The video had the order right. Thanks, Tim.

Links: Tim Düsterhus on the first-draft PECL timeline

PHP 8.6 (01:25)

This week's top story: PHP 8.6 is out today. Here are a few highlights. Partial function application lets you fill in some of a function's arguments now, with a question mark for the rest, and get back a closure that takes the rest later. A new Duration class represents elapsed time with nanosecond precision, so a timeout stops being a bare number of microseconds. The new polling API watches many streams at once, using epoll on Linux, kqueue on macOS, and the equivalent elsewhere, as a common base for event loops like ReactPHP and AMPHP. And there's clamp, which keeps a value inside a range, plus a SortDirection enum and default values for readonly properties. Sessions get safer defaults too: strict mode and HTTP-only cookies are on, and SameSite is set to Lax. The release page on php.net covers all of it. It calls 8.6 "Faster, Safer, More Powerful." Each headline feature has a side-by-side, before-and-after example, with a link to its RFC. So go read it. Link in the description.

Links: The PHP 8.6 release page

Security Release (02:42)

Also today, PHP shipped security releases for every supported version: 8.5.13, 8.4.28, 8.3.37 and 8.2.36, and PHP 8.6.0 ships with the same fixes. So, update. There are 17 advisories this time, and 7 of them are critical. The good news was in the pre-announcement: the critical ones "require either non-default configuration or uncommon setups", and each advisory spells out which setup. Three of them are in sessions. One is the upload-progress issue PHP warned about in October, where data gets written in one session format and read back in another. Its full advisory is out today, and the fix goes further than October's advice: upload progress is now off by default. If you switched it on yourself, it stays on, so anything that reads or writes those sessions needs to use the same serializer. Another critical one is in PHP-FPM, and it only matters if your web server keeps its connections to FPM open between requests. Standard nginx and Apache setups close them, and the advisory says those aren't affected.

Links: Release announcements · All of PHP's security advisories · The pre-announcement · October's upload progress advisory

The Wrong Crash (04:01)

One of today's critical bugs was found by Sebastian Bergmann, who created PHPUnit, and he's written up how he found it, in a post called "The wrong crash". After PHP2Shell, he boiled what those two bugs had in common down to a rule a program can check. He wrote: "once a request is over, nothing that outlives it may still point into its memory." While he was using that check to confirm one of the October bugs, it crashed somewhere it shouldn't have, and it crashed on the patched version too. So it had to be something new. The problem was in PHP's timezone cache. When PHP writes to its error log while it's starting up, it can cache timezone data for the timestamp, in memory that gets thrown away once startup ends. The pointer to that memory sticks around, and a fresh worker can follow it. The fix is a one-line change: outside a running request, those timestamps are now written in UTC. If you can't update right away, the advisory suggests fixing whatever PHP warns about at startup and restarting, or logging to syslog. The advisory credits Sebastian and Go Kudo. Sebastian sent the PHP team his method along with the bug, because, as he puts it, "Whoever finds one bug of a class owes such a project the means to find the others". His post goes much deeper than we can here, and it's linked below.

Links: Sebastian Bergmann, "The wrong crash" · The timezone cache advisory

Scope Globals (05:32)

The author of PHP's Scope RFC changed his mind, and then changed it back, in about 30 hours. Frode Børli's RFC gives each unit of work, like a request, its own scope. Last week, Larry Garfield called an empty new scope a landmine. On Friday, Frode agreed, and version 0.10 makes a new scope start as a copy of its creator's state. Then on Saturday, he changed his mind back. He wrote: "An object is a handle, not a value… a write inside the new scope reaches the creator. That is the leak a scope exists to prevent." The session can't be copied at all, he says, because it's a store with a lock. And he offered to withdraw the RFC if the list prefers the other direction. Larry replied that copying by hand shares objects in exactly the same way, and asked about coarser groups of state you could opt in or out of. Frode answered with his next version. The request arrays become "scope globals", and a new scope starts with them empty, the way a new process starts with empty globals. Then Larry suggested letting the thread rest until release week is over.

Links: Scope RFC · Frode Børli: version 0.10 · Frode Børli changes his mind back · Larry Garfield's reply · Frode Børli: scope globals

Channel Binding (06:48)

An RFC went from a vote date to withdrawn in a single day. Sjoerd Langkemper's openssl_get_channel_binding would hand userland the TLS channel-binding data that mail software like Roundcube needs for SCRAM-PLUS logins. On Tuesday, he announced a vote for this Friday. Jakub Zelenka, who looks after PHP's openssl extension, replied that one of its binding types doesn't work on TLS 1.3, and that the API was his biggest issue. He wrote: "My preference here is really to use a stream function (or potentially just meta data) and not introduce openssl function because it's inconsistent and hacky." That evening, Sjoerd withdrew the RFC, and said he won't pursue it further.

Links: openssl_get_channel_binding RFC · Sjoerd Langkemper announces the vote · Jakub Zelenka on the API · Withdrawn

Curl SSRF (07:38)

A new RFC wants curl to ask your code before it connects anywhere. Xavier Leune's proposal adds CURLOPT_OPENSOCKETFUNCTION, a callback that runs after DNS resolution and before each connection, and returns true or false. That, he says, is the point where an SSRF policy can be enforced reliably. Checking the URL up front, the RFC says, misses the many ways to spell one address, and DNS can answer differently the second time. He wrote: "It applies to the address actually about to be contacted, on every redirect hop and for every address libcurl tries, whatever spelling the URL used and whatever DNS answered." Nicolas Grekas suggested dropping the address-family parameter, since an IPv4 address wrapped in IPv6 would be reported as IPv6. Xavier took the suggestion two hours after posting, and a polyfill already covers PHP 8.3 to 8.6.

Links: CURLOPT_OPENSOCKETFUNCTION RFC · Xavier Leune opens the discussion · Nicolas Grekas on the address family · Implementation · Polyfill

Context Managers (08:43)

What happens when you return from inside a using block? Larry Garfield guessed, then checked with co-author Arnaud Le Blanc, and corrected himself. The generator is resumed first, so its cleanup runs, and then the function returns. The RFC now says that. Daniel Scherzer, one of the 8.6 release managers, sent six review points. An exception thrown after the yield seems to be silently ignored, yielded keys are dropped without an error, and he'd rather skip the special try using syntax, which he says "just saves 3 characters". There's no reply yet.

Links: Context Managers v2 RFC · Larry Garfield: "it will print A E C" · Daniel Scherzer's review

Revived RFCs (09:25)

Two RFCs are back after a summer off. Daniel Scherzer revived Friends, which lets a class name other classes that can reach its protected members, but not its private ones. It can't go to a vote before November 27th. Gina P. Banyard had a quick look at the implementation and saw no issues, but says she'll vote against it. Private properties plus reflection, she says, is a valid way for related components to get in. Alexander Egorov wants it inverted, so the class that needs access declares it, because "a class must know neither its clients nor possible inheritors." And Ben Ramsey restarted his Working Groups RFC, a policy for PHP project working groups, after 4 months. He wants to move to a vote, and his message starts a 14-day cooldown first.

Links: Friends RFC · Daniel Scherzer resumes the discussion · Gina P. Banyard · Alexander Egorov · Working Groups RFC · Ben Ramsey restarts it

String Matching (10:23)

The author of Str\Matcher says his own benchmarks oversold it. Artem Ukrainskiy wrote: "The old numbers ran one text over and over. The CPU learned it, and the new class looked 3-4 times faster than it is." Version 0.4 runs over a pool of different texts, with three real-data scenarios: comment moderation, bot detection by user agent, and linking PHP manual pages. With a reused object, he now reports 8 to 123 times faster than the fastest existing method, and says one call on a short text is slower. He says the main use case is worker servers like FrankenPHP, where the object is built once. He also dropped the count parameter Larry Garfield disliked, and added equality comparison.

Links: Prepared Literal String Matching RFC · Artem Ukrainskiy's v0.4 and new benchmarks

Quick Hits (11:19)

Quick hits. Weilin Du's RFC to make ini_get_all accept extension names in any case passed, 20 to 0, with 3 abstentions. It's already merged for PHP 8.7.

Links: Case-insensitive ini_get_all() RFC · Vote closed · Merged

Chris Abner Herrera Navarro's grapheme_str_pad vote is open, at 6 to 0 so far, and closes December 2nd.

Links: grapheme_str_pad() RFC · Vote opened

James Titcumb plans to open the vote on sunsetting PECL next Wednesday, November 25th.

Links: James Titcumb plans the vote

David Carlier proposed gethostaddresses, so the standard library can look up IPv6 addresses through the system resolver, and he plans a pull request.

Links: David Carlier's proposal · Issue

On PASSWORD_BCRYPT_WRAP, Mirco Babin pressed his objections again, and Rowan Tommins answered with numbers: a 54-byte pre-hash has 1.1 times 10 to the 130th possible values, against 2.5 times 10 to the 55th for bcrypt's own output.

Links: Rowan Tommins's numbers · PASSWORD_BCRYPT_WRAP RFC

Ignace Nyamagana Butera asked Máté Kocsis why query-parameter building options are set when the object is built, instead of when the string is.

Links: Ignace Nyamagana Butera's question · Query Parameter Manipulation discussion

And php.net's mail server moves data centres tomorrow, Friday, from 08:30 UTC, with about two hours of downtime.

Links: The announcement · Update

TL;DR (12:39)

So that's the week. PHP 8.6 is out, so go open the launch page, and today's security releases fix 7 critical issues, so update. Frode Børli wants new scopes to start empty after all, an openssl RFC was withdrawn the day its vote was announced, and curl may soon ask before it connects. 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 PECL got a shutdown date that moved up two years in six days, 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.


r/symfony • • 8d ago

SymfonyCon Warsaw 2026: Nobody typed this: reviewing agentic code

Thumbnail
symfony.com
1 Upvotes

r/symfony • • 8d ago

New in Symfony 8.2: Lock Improvements

Thumbnail
symfony.com
21 Upvotes

r/symfony • • 9d ago

New in Symfony 8.2: Custom Property Accessors

Thumbnail
symfony.com
22 Upvotes

r/symfony • • 9d ago

I built IntegrationEngine, a Symfony bundle for consistent external API integrations

1 Upvotes

After working on multiple API integrations, I kept running into the same maintenance problem: each integration had its own way of building requests, attaching authentication and handling responses.

I built IntegrationEngine to give those integrations a consistent structure. Each operation follows three contracts:

\- \*\*Action:\*\* describes the request.

\- \*\*Mapper:\*\* converts the external response.

\- \*\*Response:\*\* exposes the result as a typed DTO.

The engine handles the shared pipeline: configuration, path resolution, authentication, HTTP transport and response mapping. The built-in transport uses Symfony HttpClient.

Static authentication and dynamic token authentication are supported, including token caching. There are also middleware hooks and lifecycle events for extending the pipeline.

A Maker command generates the integration skeleton and its first operation:

\`\`\`bash

composer require carlosgude/integration-engine

php bin/console make:integration MyApi GetEmployee

\`\`\`

The application can expose operations through a typed facade, such as \`getEmployee($id)\`. External DTOs stay behind the application's gateway or anti-corruption layer, keeping domain models independent of the integration.

The trade-off is more explicit classes and configuration per operation. That structure becomes useful when several integrations need to follow the same conventions and remain understandable as they grow.

I'm the author, and I'd be interested in feedback on that design decision: \*\*when does a shared Action/Mapper/Response structure become useful enough to justify the additional structure over individual API clients?\*\*

Repository, documentation and demo:

https://github.com/CarlosGude/integrationEngine


r/symfony • • 9d ago

Symfony is now a CVE Numbering Authority

Thumbnail
symfony.com
36 Upvotes