<?php glob(string $pattern, int $flags = 0): array|false
<?php }, $targets); $this->targets = array_reduce($targets, function (array $accumulator, string $target): array { if (($matches = glob($target)) !== false) { foreach ($matches as $file) { $accumulator[] = (string) realpath($file); }