Lines Matching refs:pattern
41 /* loop through $patterns to match each $pattern with the files created
43 foreach($patterns as $pattern) {
46 var_dump( glob($pattern) ); // default arguments
47 var_dump( glob($pattern, GLOB_MARK) );
48 var_dump( glob($pattern, GLOB_NOSORT) );
49 var_dump( glob($pattern, GLOB_NOCHECK) );
50 var_dump( glob($pattern, GLOB_NOESCAPE) );
51 var_dump( glob($pattern, GLOB_ERR) );
58 echo "\n*** Testing glob() with pattern within braces ***\n";
68 // temp dir created to check for pattern matching the sub dir created in it
72 /* loop through $patterns to match each $pattern with the directories created
74 foreach($patterns as $pattern) {
77 var_dump( glob($pattern, GLOB_ONLYDIR) );
333 glob(): Argument #1 ($pattern) must not contain any null bytes
399 *** Testing glob() with pattern within braces ***
436 glob(): Argument #1 ($pattern) must not contain any null bytes