Lines Matching refs:scandir
2 Test scandir() function : usage variations - Wildcards in directory path
11 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]])
17 * Pass a directory path using wildcards as $dir argument to test how scandir() behaves
20 echo "*** Testing scandir() : usage variations ***\n";
33 var_dump( scandir($file_path . "/scandir_var*") );
34 var_dump( scandir($file_path . "/*") );
37 var_dump( scandir($dir_path . "/sub_dir?") );
38 var_dump( scandir($dir_path . "/sub?dir1") );
51 *** Testing scandir() : usage variations ***
55 Warning: scandir(%s/scandir_var*): failed to open dir: %s in %s on line %d
57 Warning: scandir(): (errno %d): %s in %s on line %d
60 Warning: scandir(%s/*): failed to open dir: %s in %s on line %d
62 Warning: scandir(): (errno %d): %s in %s on line %d
67 Warning: scandir(%s/scandir_variation6/sub_dir?): failed to open dir: %s in %s on line %d
69 Warning: scandir(): (errno %d): %s in %s on line %d
72 Warning: scandir(%s/scandir_variation6/sub?dir1): failed to open dir: %s in %s on line %d
74 Warning: scandir(): (errno %d): %s in %s on line %d