PHP - Array Functions
Identify the error in this PHP code using
array_filter:$data = [10, 15, 20];
$result = array_filter($data, function($x) {
if ($x > 15) return true;
});
print_r($result);