In PHP, you can use the built-in function array_filter() to filter the array by a specific property's value.