Lines Matching refs:closedir
2 Test closedir() function : error conditions - Pass incorrect number of arguments
11 /* Prototype : void closedir([resource $dir_handle])
18 * Pass incorrect number of arguments to closedir() to test behaviour
21 echo "*** Testing closedir() : error conditions ***\n";
24 //Test closedir with one more than the expected number of arguments
25 echo "\n-- Testing closedir() function with more than expected no. of arguments --\n";
32 var_dump( closedir($dir_handle, $extra_arg) );
35 closedir($dir_handle);
45 *** Testing closedir() : error conditions ***
47 -- Testing closedir() function with more than expected no. of arguments --
49 Warning: closedir() expects at most 1 parameter, 2 given in %s on line %d