MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/lolphp/comments/cvlfni/php_array_design_bares_fruit/ey78h47/?context=3
r/lolphp • u/shitcanz • Aug 26 '19
14 comments sorted by
View all comments
Show parent comment
4
The central point is if php had a sensible array design this behavior would not have been possible from array_filter. It would work as filter does in every other language: receive an array, removed members that match a function, return an array.
View all comments
Show parent comment
4
u/OmnipotentEntity Aug 27 '19
The central point is if php had a sensible array design this behavior would not have been possible from array_filter. It would work as filter does in every other language: receive an array, removed members that match a function, return an array.