No RFC went to a vote in PHP internals this week — nothing is in the voting phase at all — so the list spent it on design instead. A brand-new contributor's search function ran into a counter-proposal for a general lazy array slice. And PHP 8.6 beta 1 shipped.

Sepehr Mahmoudi proposed array_search_range() — search part of an array without slicing it first. Rowan Tommins countered: build a general "lazy array slice" instead, and array_search() just works. 25 messages, 3 threads, still a draft targeting 8.6. Henrik Skov proposed a params keyword — name a block of arguments once, spread it into a call. AllenJB: named args + array unpacking already do that. The real ask was call-time evaluation. Larry Garfield: that's a lazy value, not a parameter feature.

youtu.be/5okEY31nyCs

  • No matching results...
  • Searching...

/ 1000

This week's episode is supported by Ballast. Is AI working for your team? Ballast reads your git history — never your code — and gives you 2 numbers a month: how much of what you ship survives, and a 300-850 durability score. Free.

ballast.now