DEV Community

Discussion on: I just Callback to say: filter and map in PHP 🎶

Collapse
dawiddahl profile image
Dawid Dahl

The fact that the argument order is different between map and filter is what I dislike the most about PHP. 😆

Collapse
andersbjorkland profile image
Anders Björkland Author

There's even a library out there just to make php functions take arguments in a consistent order! 😁
I haven't reached for that though. Intelliphense for VSCode is pretty good at reminding me which is which!

Collapse
dawiddahl profile image
Dawid Dahl

Hah, seriously? I’ll try to find it, thanks and see you soon! 🙏🏻🙂