Home
last modified time | relevance | path

Searched refs:closedir (Results 1 – 25 of 121) sorted by relevance

12345

/PHP-7.2/ext/standard/tests/dir/
H A Dclosedir_variation1.phpt2 Test closedir() function : usage variations - different data types as $dir_handle arg
5 /* Prototype : void closedir([resource $dir_handle])
12 * Pass different data types as $dir_handle argument to closedir() to test behaviour
15 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 %d
120 Warning: closedir() expects parameter 1 to be resource, float given in %s on line %d
140 Warning: closedir() expects parameter 1 to be resource, null given in %s on line %d
[all …]
H A Dclosedir_error.phpt2 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 --
[all …]
H A Dclosedir_basic.phpt2 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 …]
H A Dclosedir_basic-win32-mb.phpt2 Test closedir() function : basic functionality
11 /* 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 …]
H A Dclosedir_error-win32-mb.phpt2 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 --
[all …]
H A Dclosedir_variation3.phpt2 Test closedir() function : usage variations - close a file pointer
5 /* 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
H A Dclosedir_variation2.phpt2 Test closedir() function : usage variations - close directory handle twice
5 /* Prototype : void closedir([resource $dir_handle])
12 * close the directory handle twice using closedir() to test behaviour
15 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
H A Dclosedir_variation2-win32-mb.phpt2 Test closedir() function : usage variations - close directory handle twice
11 /* Prototype : void closedir([resource $dir_handle])
18 * close the directory handle twice using closedir() to test behaviour
21 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
H A Dopendir_variation3.phpt31 closedir($dh1);
32 closedir($dh2);
H A Dopendir_variation3-win32-mb.phpt37 closedir($dh1);
38 closedir($dh2);
H A Dopendir_basic-win32-mb.phpt43 closedir($dh1);
45 closedir($dh2);
H A Dopendir_basic.phpt37 closedir($dh1);
39 closedir($dh2);
H A Drewinddir_basic.phpt54 closedir($dh1);
55 closedir($dh2);
H A Dreaddir_variation6-win32-mb.phpt61 closedir($dir_handle1);
62 closedir();
H A Dreaddir_variation6.phpt55 closedir($dir_handle1);
56 closedir();
H A Drewinddir_basic-win32-mb.phpt60 closedir($dh1);
61 closedir($dh2);
/PHP-7.2/ext/standard/tests/file/
H A Ddirectory_wrapper_fstat_basic.phpt8 closedir($h);
/PHP-7.2/ext/standard/
H A Dphp_dir.h28 PHP_FUNCTION(closedir);
/PHP-7.2/ext/phar/tests/tar/
H A Dtar_003.phpt39 closedir($tar);
48 closedir($tar);
/PHP-7.2/win32/
H A Dreaddir.h47 int closedir(DIR *);
/PHP-7.2/ext/zip/tests/
H A Dutils.inc21 closedir($handle);
/PHP-7.2/ext/standard/tests/streams/
H A Dopendir-002.phpt22 closedir($ds);
H A Dstream_get_meta_data_dir_basic.phpt8 closedir($dir);
/PHP-7.2/ext/standard/tests/image/
H A Dgetimagesize_246x247.phpt18 closedir($dir);
H A Dgetimagesize_384x385.phpt18 closedir($dir);

Completed in 26 milliseconds

12345