Home
last modified time | relevance | path

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

12345

/PHP-7.0/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_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 Dopendir_variation3.phpt31 closedir($dh1);
32 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.phpt55 closedir($dir_handle1);
56 closedir();
H A Dopendir_variation5.phpt68 closedir($dir_handle1);
71 closedir($dir_handle2);
H A Dreaddir_variation2.phpt29 closedir($dir_handle);
/PHP-7.0/ext/standard/tests/file/
H A Ddirectory_wrapper_fstat_basic.phpt8 closedir($h);
H A Dbug24482.phpt25 closedir($dh);
H A Dis_dir_variation3.phpt33 closedir($dir_handle);
/PHP-7.0/ext/standard/
H A Dphp_dir.h28 PHP_FUNCTION(closedir);
/PHP-7.0/TSRM/
H A Dreaddir.h42 int closedir(DIR *);
/PHP-7.0/win32/
H A Dreaddir.h46 int closedir(DIR *);
/PHP-7.0/ext/phar/tests/tar/
H A Dtar_003.phpt39 closedir($tar);
48 closedir($tar);
/PHP-7.0/ext/zip/tests/
H A Dutils.inc21 closedir($handle);
/PHP-7.0/ext/standard/tests/streams/
H A Dopendir-002.phpt22 closedir($ds);
H A Dstream_get_meta_data_dir_basic.phpt8 closedir($dir);
/PHP-7.0/ext/standard/tests/image/
H A Dgetimagesize_246x247.phpt18 closedir($dir);
H A Dgetimagesize_384x385.phpt18 closedir($dir);
/PHP-7.0/ext/standard/tests/array/
H A Darray_keys_variation_005.phpt20 closedir( $resource2 );
/PHP-7.0/main/
H A Dphp_scandir.c110 closedir(dirp); in php_scandir()

Completed in 28 milliseconds

12345