Lines Matching refs:glob
2 Test glob() function: usage variations
14 /* Prototype: array glob ( string $pattern [, int $flags] );
18 echo "*** Testing glob() : usage variations ***\n";
48 using glob() */
51 var_dump( glob($pattern) ); // default arguments
52 var_dump( glob($pattern, GLOB_MARK) );
53 var_dump( glob($pattern, GLOB_NOSORT) );
54 var_dump( glob($pattern, GLOB_NOCHECK) );
55 var_dump( glob($pattern, GLOB_NOESCAPE) );
56 var_dump( glob($pattern, GLOB_ERR) );
60 echo "\n*** Testing glob() with pattern within braces ***\n";
61 var_dump( glob("$file_path/glob_variation/*{5}", GLOB_BRACE) );
69 echo "\n*** Testing glob() on directories ***\n";
75 using glob() */
78 var_dump( glob($pattern, GLOB_ONLYDIR) );
92 *** Testing glob() : usage variations ***
332 Warning: glob() expects parameter 1 to be a valid path, string given in %s on line %d
335 Warning: glob() expects parameter 1 to be a valid path, string given in %s on line %d
338 Warning: glob() expects parameter 1 to be a valid path, string given in %s on line %d
341 Warning: glob() expects parameter 1 to be a valid path, string given in %s on line %d
344 Warning: glob() expects parameter 1 to be a valid path, string given in %s on line %d
347 Warning: glob() expects parameter 1 to be a valid path, string given in %s on line %d
414 *** Testing glob() with pattern within braces ***
420 *** Testing glob() on directories ***
452 Warning: glob() expects parameter 1 to be a valid path, string given in %s on line %d