Searched refs:closedir (Results 1 – 25 of 121) sorted by relevance
12345
2 Test closedir() function : usage variations - different data types as $dir_handle arg5 /* Prototype : void closedir([resource $dir_handle])12 * Pass different data types as $dir_handle argument to closedir() to test behaviour15 echo "*** Testing closedir() : usage variations ***\n";80 // loop through each element of $inputs to check the behavior of closedir()84 var_dump( closedir($input) );91 *** Testing closedir() : usage variations ***115 Warning: closedir() expects parameter 1 to be resource, float given in %s on line %d120 Warning: closedir() expects parameter 1 to be resource, float given in %s on line %d140 Warning: closedir() expects parameter 1 to be resource, null given in %s on line %d[all …]
2 Test closedir() function : error conditions - Pass incorrect number of arguments5 /* Prototype : void closedir([resource $dir_handle])12 * Pass incorrect number of arguments to closedir() to test behaviour15 echo "*** Testing closedir() : error conditions ***\n";18 //Test closedir with one more than the expected number of arguments19 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 --[all …]
2 Test closedir() function : basic functionality5 /* Prototype : void closedir([resource $dir_handle])12 * Test basic functionality of closedir()15 echo "*** Testing closedir() : basic functionality ***\n";21 echo "\n-- Call closedir() with no arguments: --\n";23 var_dump(closedir());27 echo "\n-- Call closedir() with \$dir_handle argument supplied: --\n";33 var_dump(closedir($dh2));45 *** Testing closedir() : basic functionality ***47 -- Call closedir() with no arguments: --[all …]
2 Test closedir() function : basic functionality11 /* Prototype : void closedir([resource $dir_handle])18 * Test basic functionality of closedir()21 echo "*** Testing closedir() : basic functionality ***\n";27 echo "\n-- Call closedir() with no arguments: --\n";29 var_dump(closedir());33 echo "\n-- Call closedir() with \$dir_handle argument supplied: --\n";39 var_dump(closedir($dh2));51 *** Testing closedir() : basic functionality ***53 -- Call closedir() with no arguments: --[all …]
2 Test closedir() function : error conditions - Pass incorrect number of arguments11 /* Prototype : void closedir([resource $dir_handle])18 * Pass incorrect number of arguments to closedir() to test behaviour21 echo "*** Testing closedir() : error conditions ***\n";24 //Test closedir with one more than the expected number of arguments25 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 --[all …]
2 Test closedir() function : usage variations - close a file pointer5 /* Prototype : void closedir([resource $dir_handle])12 * Create a file pointer using fopen() then try to close it using closedir()15 echo "*** Testing closedir() : usage variations ***\n";20 echo "\n-- Try to close the file pointer using closedir() --\n";21 var_dump(closedir($fp));32 *** Testing closedir() : usage variations ***37 -- Try to close the file pointer using closedir() --39 Warning: closedir(): %d is not a valid Directory resource in %s on line %d
2 Test closedir() function : usage variations - close directory handle twice5 /* Prototype : void closedir([resource $dir_handle])12 * close the directory handle twice using closedir() to test behaviour15 echo "*** Testing closedir() : usage variations ***\n";24 var_dump(closedir($dh));29 var_dump(closedir($dh));40 *** Testing closedir() : usage variations ***48 Warning: closedir(): supplied resource is not a valid Directory resource in %s on line %d
2 Test closedir() function : usage variations - close directory handle twice11 /* Prototype : void closedir([resource $dir_handle])18 * close the directory handle twice using closedir() to test behaviour21 echo "*** Testing closedir() : usage variations ***\n";30 var_dump(closedir($dh));35 var_dump(closedir($dh));46 *** Testing closedir() : usage variations ***54 Warning: closedir(): %s is not a valid Directory resource in %s on line %d
31 closedir($dh1);32 closedir($dh2);
37 closedir($dh1);38 closedir($dh2);
43 closedir($dh1);45 closedir($dh2);
37 closedir($dh1);39 closedir($dh2);
54 closedir($dh1);55 closedir($dh2);
61 closedir($dir_handle1);62 closedir();
55 closedir($dir_handle1);56 closedir();
60 closedir($dh1);61 closedir($dh2);
8 closedir($h);
28 PHP_FUNCTION(closedir);
39 closedir($tar);48 closedir($tar);
47 int closedir(DIR *);
21 closedir($handle);
22 closedir($ds);
8 closedir($dir);
18 closedir($dir);
Completed in 26 milliseconds