Lines Matching refs:scandir
2 Test scandir() function : usage variations - different directory permissions
12 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]])
18 * remove the execute permission from the parent dir and test scandir() on child dir
19 * 1. remove write & execute permission from the 1st parent and test scandir()
20 * 2. remove execute permission from 2nd parent and test scandir()
23 echo "*** Testing scandir() : usage variations ***\n";
49 var_dump(scandir($child_dir_path));
56 var_dump(scandir($child_dir_path));
75 *** Testing scandir() : usage variations ***
79 Warning: scandir(%s/scandir_variation5/sub_dir/child_dir): failed to open dir: %s in %s on line %d
81 Warning: scandir(): (errno %d): %s in %s on line %d
86 Warning: scandir(%s/scandir_variation5/sub_dir/child_dir): failed to open dir: %s in %s on line %d
88 Warning: scandir(): (errno %d): %s in %s on line %d