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