Post

TIL about `array_column` in PHP 🤩 And it can work on objects, too, so here's simple way to get all the values from a backed enum… (It's also about 2x faster than `array_map` in my testing.)

I mean for the stuff I'm doing now it does matter and I will implement! Thanks for the intel 🫡

0 reposts2 likes