Lines Matching refs:dir
5 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]])
7 * Source code: ext/standard/dir.c
25 $dir = __DIR__ . '/scandir_variation10';
26 mkdir($dir);
27 @create_files($dir, 2);
30 var_dump(scandir($dir, SCANDIR_SORT_ASCENDING));
31 var_dump(scandir($dir, SCANDIR_SORT_DESCENDING));
34 $files = scandir($dir, SCANDIR_SORT_NONE);
41 delete_files($dir, 2);
46 $dir = __DIR__ . '/scandir_variation10';
47 rmdir($dir);