Post

Top story: Sjoerd Langkemper's RFC would make password_hash() with bcrypt refuse passwords past 72 bytes. Kamil Tekiela and @timwolla.bsky.social: checking length is the app's job. Rowan Tommins, Andrey Andreev and Robert Chapin are for it. Derick Rethans is a -1: "a scary BC break."

Gina P. Banyard's CompiledRegex prototype drew 18 replies, and several want it called just Regex: Larry Garfield, Casper Langemeijer, Jordi Kroon, Juris Evertovskis. Ayesh Karunaratne and @seld.be want to build one from the patterns you already have.

Time\Instant got a bridge from DateTime: toInstant(). @timwolla.bsky.social and Derick Rethans won't write the testing-clocks RFC, and they're inviting the community to. Mirco Babin flagged a clash with PSR-20's now(). Morgan: "Well, then it's not an instant, is it?"

Weilin Du's array shorthand turns =$x into 'x' => $x. Sebastian Bergmann will vote against without data, David Carlier showed one missing comma silently changing a program, Anton Smirnov pointed at compact(), and Christian Schneider has run a local patch "for many years".

Jakub Zelenka's IO Hooks RFC would hand PHP's blocking calls (streams, sockets, curl, sleep) to a provider such as an event loop, so existing code runs concurrently under Fibers. No provider, no change. It builds on a second new RFC, Polling API Additions.

The internals list removed a contributor this week, after a warning from Derick Rethans on Sep 15 and a last warning from moderator Ilija Tovilo on Sep 21 (one new thread a month, three emails a week). A new RFC followed on Sep 27, and the address was blocked.

Quick hits: Matteo Beccati's PHP 8.6.0 RC2 is out (RC1 was skipped over a packaging error), plus security releases for 8.5, 8.4, 8.3 and 8.2. Sjoerd's number-base RFC now throws an Exception, not a ValueError. Juliette Reinders Folmer wants the b string prefix deprecated.

Pedro Veloso floated an engine-enforced #[Pure]. Karoly Negyesi posted a pre-RFC for Kotlin-style "implements … by" delegation. Alexander Danilov: much of post-quantum OpenSSL already works in PHP. And @nicksdot.dev's PEAR vote hasn't opened yet.

0 reposts0 likes