Lines Matching refs:pattern
40 /* loop through $patterns to match each $pattern with the files created
42 foreach($patterns as $pattern) {
45 var_dump( glob($pattern) ); // default arguments
46 var_dump( glob($pattern, GLOB_MARK) );
47 var_dump( glob($pattern, GLOB_NOSORT) );
48 var_dump( glob($pattern, GLOB_NOCHECK) );
49 var_dump( glob($pattern, GLOB_NOESCAPE) );
50 var_dump( glob($pattern, GLOB_ERR) );
57 echo "\n*** Testing glob() with pattern within braces ***\n";
67 // temp dir created to check for pattern matching the sub dir created in it
71 /* loop through $patterns to match each $pattern with the directories created
73 foreach($patterns as $pattern) {
76 var_dump( glob($pattern, GLOB_ONLYDIR) );
332 glob(): Argument #1 ($pattern) must not contain any null bytes
398 *** Testing glob() with pattern within braces ***
435 glob(): Argument #1 ($pattern) must not contain any null bytes