glob

Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Find pathnames matching a pattern
<?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;

    }
<?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);

                }
<?php                 ('\\' !== DIRECTORY_SEPARATOR || false === strpos($glob, '[^'))

            ) {


                $results = glob($glob, defined('GLOB_BRACE') ? GLOB_BRACE : 0);




                if (empty($results)) {
<?php <?php



$bestDirFound = null;

$dirs = glob(__DIR__.'/../vendor/bin/.phpunit/phpunit-*', GLOB_ONLYDIR);

natsort($dirs);



foreach (array_reverse($dirs) as $dir) {
<?php         $composer = $this->getComposer();

        $binDir = $composer->getConfig()->get('bin-dir');

        if ($input->getOption('list') || !$input->getArgument('binary')) {

            $bins = glob($binDir . '/*');

            $bins = array_merge($bins, array_map(function ($e) {

                return "$e (local)";

            }, $composer->getPackage()->getBinaries()));
<?php         return array_map(function ($val) {

            return rtrim(str_replace(DIRECTORY_SEPARATOR, '/', $val), '/');

        }, glob($this->url, $flags));

    }

}
<?php $autoload = require __DIR__ . '/../vendor/autoload.php';




foreach (glob(__DIR__ . '/../vendor/react/*/composer.json') as $b) {

    $config = json_decode(file_get_contents($b), true);



    if (isset($config['autoload-dev']['psr-4'])) {
<?php }




foreach (glob(__DIR__ . '/../vendor/react/*/tests/bootstrap.php') as $b) {