4 ms·
a proper IDE solves that, but i always laugh when getting back to php why they made array_map and array_filter switch parameter order.
by disiplus 6y ago
a proper IDE solves that, but i always laugh when getting back to php why they made array_map and array_filter switch parameter order.
- 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.