zlacker

[parent] [thread] 0 comments
1. user39+(OP)[view] [source] 2022-12-08 14:36:43
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.

[go to top]