News for hackers. Stuff that matters.
Re:PHP 8.2 by user3939382 on Thursday December 08, 2022 @09:36AM (#33908266)
Yep that's a great library, I'd like to see some of it in core. Same with this: https://github.com/lstrojny/functional-php which overlaps somewhat.

The no-brainers to me are the missing array_some()/array_any() array_every()/array_all() and an array_search() that takes a predicate and iterable. I do these now in userland but an optimized native version would be nice.

There are no comments on this comment yet.