Lines Matching refs:scandir
2 Test scandir() function : usage variations - different directory permissions
20 /* Prototype : array scandir(string $dir [, int $sorting_order [, resource $context]])
26 * remove the execute permission from the parent dir and test scandir() on child dir
27 * 1. remove write & execute permission from the 1st parent and test scandir()
28 * 2. remove execute permission from 2nd parent and test scandir()
31 echo "*** Testing scandir() : usage variations ***\n";
57 var_dump(scandir($child_dir_path));
64 var_dump(scandir($child_dir_path));
83 *** Testing scandir() : usage variations ***
87 Warning: scandir(%s/scandir_variation5/sub_dir/child_dir): failed to open dir: %s in %s on line %d
89 Warning: scandir(): (errno %d): %s in %s on line %d
94 Warning: scandir(%s/scandir_variation5/sub_dir/child_dir): failed to open dir: %s in %s on line %d
96 Warning: scandir(): (errno %d): %s in %s on line %d