Lines Matching refs:pattern
43 /* loop through $patterns to match each $pattern with the files created
45 foreach($patterns as $pattern) {
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) );
60 echo "\n*** Testing glob() with pattern within braces ***\n";
70 // temp dir created to check for pattern matching the sub dir created in it
74 /* loop through $patterns to match each $pattern with the directories created
76 foreach($patterns as $pattern) {
79 var_dump( glob($pattern, GLOB_ONLYDIR) );
335 glob(): Argument #1 ($pattern) must not contain any null bytes
401 *** Testing glob() with pattern within braces ***
438 glob(): Argument #1 ($pattern) must not contain any null bytes