Lines Matching refs:opendir
2 Test opendir() function : error conditions - Incorrect number of args
5 /* Prototype : mixed opendir(string $path[, resource $context])
11 * Pass incorrect number of arguments to opendir() to test behaviour
14 echo "*** Testing opendir() : error conditions ***\n";
17 echo "\n-- Testing opendir() function with Zero arguments --\n";
18 var_dump( opendir() );
20 //Test opendir with one more than the expected number of arguments
21 echo "\n-- Testing opendir() function with more than expected no. of arguments --\n";
27 var_dump( opendir($path, $context, $extra_arg) );
36 *** Testing opendir() : error conditions ***
38 -- Testing opendir() function with Zero arguments --
40 Warning: opendir() expects at least 1 parameter, 0 given in %s on line %d
43 -- Testing opendir() function with more than expected no. of arguments --
45 Warning: opendir() expects at most 2 parameters, 3 given in %s on line %d