How-to articles, tricks, and solutions about FILTERING
Most efficient way to search for object in an array by a specific property's value
In PHP, you can use the built-in function array_filter() to filter the array by a specific property's value.
Remove all elements from array that do not start with a certain string
You can use the array_filter() function in PHP to remove all elements from an array that do not start with a certain string.