Lines Matching refs:closedir
2 Test closedir() function : error conditions - Pass incorrect number of arguments
5 /* Prototype : void closedir([resource $dir_handle])
12 * Pass incorrect number of arguments to closedir() to test behaviour
15 echo "*** Testing closedir() : error conditions ***\n";
18 //Test closedir with one more than the expected number of arguments
19 echo "\n-- Testing closedir() function with more than expected no. of arguments --\n";
26 var_dump( closedir($dir_handle, $extra_arg) );
29 closedir($dir_handle);
39 *** Testing closedir() : error conditions ***
41 -- Testing closedir() function with more than expected no. of arguments --
43 Warning: closedir() expects at most 1 parameter, 2 given in %s on line %d