Searched refs:closedir (Results 1 – 25 of 102) 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 functionality 5 /* 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 : 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
31 closedir($dh1);32 closedir($dh2);
37 closedir($dh1);39 closedir($dh2);
54 closedir($dh1);55 closedir($dh2);
55 closedir($dir_handle1);56 closedir();
68 closedir($dir_handle1);71 closedir($dir_handle2);
29 closedir($dir_handle);
8 closedir($h);
25 closedir($dh);
33 closedir($dir_handle);
28 PHP_FUNCTION(closedir);
42 int closedir(DIR *);
46 int closedir(DIR *);
39 closedir($tar);48 closedir($tar);
21 closedir($handle);
22 closedir($ds);
8 closedir($dir);
18 closedir($dir);
20 closedir( $resource2 );
110 closedir(dirp); in php_scandir()
Completed in 28 milliseconds