3 ms·
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 https://github.com/lstrojny/functiona
by user3939382 4y ago
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 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.