<?php array_filter(array $array, ?callable $callback = null, int $mode = 0): array
<?php if (PHP_VERSION_ID >= 50600) { $filterFlags = ($flags & self::FILTER_KEY) ? ARRAY_FILTER_USE_KEY : 0; return array_filter($paths, $filter, $filterFlags); }
<?php return $result; } return array_filter($paths, $filter); }