Lines Matching refs:opendir
2 Test opendir() function : usage variations - directories with restricted permissions
20 /* Prototype : mixed opendir(string $path[, resource $context])
26 * remove the execute permission from the parent dir and test opendir() on child dir
27 * 1) remove write & execute permission from the 1st parent and test opendir()
28 * 2) remove execute permission from 2nd parent and test opendir()
31 echo "*** Testing opendir() : usage variations ***\n";
56 $dir_handle1 = opendir($child_dir_path);
64 $dir_handle2 = opendir($child_dir_path); // try to open, expected failure
92 *** Testing opendir() : usage variations ***
96 Warning: opendir(%s/opendir_variation5/sub_dir/child_dir): failed to open dir: %s in %s on line %d
101 Warning: opendir(%s/opendir_variation5/sub_dir/child_dir): failed to open dir: %s in %s on line %d