<?php glob(string $pattern, int $flags = 0): array|false
<?php public function glob($pattern, $flags = 0) { return glob($pattern, $flags); }
<?php protected function hasPhpFiles(string $path): bool { return count(glob($path.'/*.php')) > 0; }