<?php $test = [1, 2, 3]; $filter = function ($x) { return $x % 2; }; $result = array_filter($test, $filter); print_r($result);
You have javascript disabled. You will not be able to edit any code.