#TIL 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.
Don't have an account? You can sign up here