Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/tests/file/
H A Dflock_basic.phpt25 $dir_handle = opendir($lock_dir);
26 var_dump(flock($dir_handle, LOCK_SH|LOCK_NB));
27 var_dump(flock($dir_handle, LOCK_UN));
28 var_dump(flock($dir_handle, LOCK_EX));
29 var_dump(flock($dir_handle, LOCK_UN));
30 closedir($dir_handle);
/PHP-8.0/ext/standard/tests/dir/
H A Drewinddir_variation2.phpt15 var_dump($dir_handle = opendir($dir_path));
16 var_dump(readdir($dir_handle));
17 closedir($dir_handle);
21 var_dump(rewinddir($dir_handle));
H A Drewinddir_variation2-win32-mb.phpt21 var_dump($dir_handle = opendir($dir_path));
22 var_dump(readdir($dir_handle));
23 closedir($dir_handle);
27 var_dump(rewinddir($dir_handle));
H A Dreaddir_variation2.phpt13 $dir_handle = opendir($path);
20 while(FALSE !== ($file = readdir($dir_handle))){
24 closedir($dir_handle);
H A Dreaddir_variation2-win32-mb.phpt19 $dir_handle = opendir($path);
26 while(FALSE !== ($file = readdir($dir_handle))){
30 closedir($dir_handle);
H A Dreaddir_variation3.phpt24 $dir_handle = opendir($path_top);
25 while(FALSE !== ($file = readdir($dir_handle))) {
39 closedir($dir_handle);
H A Dreaddir_variation3-win32-mb.phpt30 $dir_handle = opendir($path_top);
31 while(FALSE !== ($file = readdir($dir_handle))) {
45 closedir($dir_handle);
H A Dclosedir_basic.phpt21 echo "\n-- Call closedir() with \$dir_handle argument supplied: --\n";
45 -- Call closedir() with $dir_handle argument supplied: --
H A Dclosedir_basic-win32-mb.phpt27 echo "\n-- Call closedir() with \$dir_handle argument supplied: --\n";
51 -- Call closedir() with $dir_handle argument supplied: --
H A Dreaddir_variation4.phpt56 $dir_handle = opendir($dir_path);
57 while(FALSE !== ($file = readdir($dir_handle))){
71 closedir($dir_handle);
H A Dreaddir_variation4-win32-mb.phpt62 $dir_handle = opendir($dir_path);
63 while(FALSE !== ($file = readdir($dir_handle))){
77 closedir($dir_handle);
H A Dreaddir_variation7.phpt23 readdir(): Argument #1 ($dir_handle) must be a valid Directory resource
H A Dclosedir_variation3.phpt34 closedir(): Argument #1 ($dir_handle) must be a valid Directory resource
H A Drewinddir_variation3.phpt35 rewinddir(): Argument #1 ($dir_handle) must be a valid Directory resource
/PHP-8.0/ext/standard/tests/array/
H A Darray_search_variation4.phpt11 $dir_handle = opendir( __DIR__ );
14 $resources = array($file_handle, $dir_handle);
19 var_dump( array_search((int)$dir_handle, $resources, true) );
H A Din_array_variation4.phpt13 $dir_handle = opendir( __DIR__ );
16 $resources = array($file_handle, $dir_handle);
21 var_dump( in_array((int)$dir_handle, $resources, true) );
H A Dend.phpt98 $dir_handle = opendir( __DIR__ );
101 $resources = array($file_handle, $dir_handle);
110 closedir( $dir_handle ); //dir resource handle deleted
H A Dend_64bit.phpt98 $dir_handle = opendir( __DIR__ );
101 $resources = array($file_handle, $dir_handle);
/PHP-8.0/ext/standard/tests/strings/
H A Dimplode1.phpt104 $dir_handle = opendir( __DIR__ );
107 $resources = array($file_handle, $dir_handle);
157 closedir($dir_handle);
/PHP-8.0/ext/standard/
H A Dbasic_functions.stub.php703 /** @param resource|null $dir_handle */
704 function closedir($dir_handle = null): void {} argument
714 /** @param resource|null $dir_handle */
715 function rewinddir($dir_handle = null): void {} argument
717 /** @param resource|null $dir_handle */
718 function readdir($dir_handle = null): string|false {} argument
H A Dbasic_functions_arginfo.h1105 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, dir_handle, "null")
1123 ZEND_ARG_INFO_WITH_DEFAULT_VALUE(0, dir_handle, "null")
/PHP-8.0/ext/standard/tests/general_functions/
H A Dprint_r.phpt228 $dir_handle = opendir( __DIR__ );
232 $dir_handle
270 closedir($dir_handle);
H A Dprint_r_64bit.phpt232 $dir_handle = opendir( __DIR__ );
236 $dir_handle
274 closedir($dir_handle);
H A Dvar_dump.phpt227 $dir_handle = opendir( __DIR__ );
231 $dir_handle
273 closedir($dir_handle);
H A Dvar_dump_64bit.phpt227 $dir_handle = opendir( __DIR__ );
231 $dir_handle
273 closedir($dir_handle);

Completed in 73 milliseconds