Lines Matching refs:glob
2 Test glob() function: usage variations
11 /* Prototype: array glob ( string $pattern [, int $flags] );
15 echo "*** Testing glob() : usage variations ***\n";
45 using glob() */
48 var_dump( glob($pattern) ); // default arguments
49 var_dump( glob($pattern, GLOB_MARK) );
50 var_dump( glob($pattern, GLOB_NOSORT) );
51 var_dump( glob($pattern, GLOB_NOCHECK) );
52 var_dump( glob($pattern, GLOB_NOESCAPE) );
53 var_dump( glob($pattern, GLOB_ERR) );
57 echo "\n*** Testing glob() with pattern within braces ***\n";
58 var_dump( glob("$file_path/glob_variation/*{5}", GLOB_BRACE) );
66 echo "\n*** Testing glob() on directories ***\n";
72 using glob() */
75 var_dump( glob($pattern, GLOB_ONLYDIR) );
89 *** Testing glob() : usage variations ***
329 Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on …
332 Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on …
335 Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on …
338 Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on …
341 Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on …
344 Warning: glob() expects parameter 1 to be a valid path, string given %sglob_variation-win32.php on …
411 *** Testing glob() with pattern within braces ***
417 *** Testing glob() on directories ***
449 Warning: glob() expects parameter 1 to be a valid path, string given in %sglob_variation-win32.php …