Follow

you can use `array_filter` in PHP without providing the filter callback, and it will get rid of all the falsy values. Sweet! I've written logic for this myself many times, so I'll definitely start using this instead.

Sign in to participate in the conversation
Noel's Mastodon

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!