3 ms·
> why they made array_map and array_filter switch parameter order It kind of makes sense if you look at the signatures (array_map takes a callable and a variab
by Denvercoder9 6y ago
> why they made array_map and array_filter switch parameter order
It kind of makes sense if you look at the signatures (array_map takes a callable and a variable number of arrays, while array_filter takes a singe array and an optional calable), but yeah, it's horrible to use.