Searched refs:opendir (Results 1 – 25 of 128) sorted by relevance
123456
/PHP-8.0/ext/standard/tests/dir/ |
H A D | opendir_variation6-win32.phpt | 2 Test opendir() function : usage variations - Different wildcards 12 * Pass paths containing wildcards to test if opendir() recognises them 15 echo "*** Testing opendir() : usage variations ***\n"; 27 var_dump( opendir($file_path . "/opendir_var*") ); 28 var_dump( opendir($file_path . "/*") ); 31 var_dump( opendir($dir_path . "/sub_dir?") ); 32 var_dump( opendir($dir_path . "/sub?dir1") ); 44 *** Testing opendir() : usage variations *** 48 Warning: opendir(%s/opendir_var*): %s in %s on line %d 53 Warning: opendir(%s/*): %s in %s on line %d [all …]
|
H A D | bug80960.phpt | 2 Fix #80960 (opendir() warning wrong info when failed on Windows) 11 opendir("notexist*"); 12 opendir("notexist?"); 13 opendir(str_pad("longname", PHP_MAXPATHLEN - strlen(getcwd()), "_")); 16 Warning: opendir(notexist*): %s (code: 123) in %s on line %d 18 Warning: opendir(notexist*): Failed to open directory: No such file or directory in %s on line %d 20 Warning: opendir(notexist?): %s (code: 123) in %s on line %d 22 Warning: opendir(notexist?): Failed to open directory: No such file or directory in %s on line %d 24 Warning: opendir(longname%r_+%r): %s (code: 111) in %s on line %d 26 Warning: opendir(longname%r_+%r): Failed to open directory: Filename too long in %s on line %d
|
H A D | opendir_variation6.phpt | 2 Test opendir() function : usage variations - Different wildcards 12 * Pass paths containing wildcards to test if opendir() recognises them 15 echo "*** Testing opendir() : usage variations ***\n"; 27 var_dump( opendir($file_path . "/opendir_var*") ); 28 var_dump( opendir($file_path . "/*") ); 31 var_dump( opendir($dir_path . "/sub_dir?") ); 32 var_dump( opendir($dir_path . "/sub?dir1") ); 44 *** Testing opendir() : usage variations *** 48 Warning: opendir(%s/opendir_var*): Failed to open directory: %s in %s on line %d 51 Warning: opendir(%s/*): Failed to open directory: %s in %s on line %d [all …]
|
H A D | opendir_basic.phpt | 2 Test opendir() function : basic functionality 6 * Test basic functionality of opendir() with absolute and relative paths as $path argument 9 echo "*** Testing opendir() : basic functionality ***\n"; 24 echo "\n-- Testing opendir() with absolute path: --\n"; 25 var_dump($dh1 = opendir($level_one_dir_path)); 28 echo "\n-- Testing opendir() with relative paths: --\n"; 30 var_dump($dh2 = opendir($level_two_dir_name)); 46 *** Testing opendir() : basic functionality *** 48 -- Testing opendir() with absolute path: -- 51 -- Testing opendir() with relative paths: --
|
H A D | opendir_basic-win32-mb.phpt | 2 Test opendir() function : basic functionality 12 * Test basic functionality of opendir() with absolute and relative paths as $path argument 15 echo "*** Testing opendir() : basic functionality ***\n"; 30 echo "\n-- Testing opendir() with absolute path: --\n"; 31 var_dump($dh1 = opendir($level_one_dir_path)); 34 echo "\n-- Testing opendir() with relative paths: --\n"; 36 var_dump($dh2 = opendir($level_two_dir_name)); 52 *** Testing opendir() : basic functionality *** 54 -- Testing opendir() with absolute path: -- 57 -- Testing opendir() with relative paths: --
|
H A D | opendir_error2.phpt | 2 Test opendir() function : error conditions - Non-existent directory 12 * Pass a non-existent directory as $path argument to opendir() to test behaviour 15 echo "*** Testing opendir() : error conditions ***\n"; 19 var_dump(opendir($path)); 23 var_dump(opendir('idonotexist')); 26 *** Testing opendir() : error conditions *** 30 Warning: opendir(%s/idonotexist): Failed to open directory: %s in %s on line %d 35 Warning: opendir(idonotexist): Failed to open directory: %s in %s on line %d
|
H A D | opendir_variation4.phpt | 2 Test opendir() function : usage variations - different relative paths 6 * Test opendir() with different relative paths as $path argument 9 echo "*** Testing opendir() : usage variation ***\n"; 26 var_dump($dh = opendir("./$level_one_dir_name")); 31 var_dump($dh = opendir("$level_one_dir_name/$level_two_dir_name")); 35 var_dump($dh = opendir('..')); 40 var_dump($dh = opendir('.')); 44 var_dump($dh = opendir('../')); 49 var_dump($dh = opendir('./')); 54 var_dump($dh = opendir("../../$level_one_dir_name")); [all …]
|
H A D | opendir_variation3.phpt | 2 Test opendir() function : usage variations - open a directory twice 6 * Call opendir() twice with the same directory as $path argument 9 echo "*** Testing opendir() : usage variation ***\n"; 15 var_dump($dh1 = opendir($path)); 18 var_dump($dh2 = opendir($path)); 35 *** Testing opendir() : usage variation ***
|
H A D | opendir_variation4-win32-mb.phpt | 2 Test opendir() function : usage variations - different relative paths 12 * Test opendir() with different relative paths as $path argument 15 echo "*** Testing opendir() : usage variation ***\n"; 32 var_dump($dh = opendir("./$level_one_dir_name")); 37 var_dump($dh = opendir("$level_one_dir_name/$level_two_dir_name")); 41 var_dump($dh = opendir('..')); 46 var_dump($dh = opendir('.')); 50 var_dump($dh = opendir('../')); 55 var_dump($dh = opendir('./')); 60 var_dump($dh = opendir("../../$level_one_dir_name")); [all …]
|
H A D | opendir_variation3-win32-mb.phpt | 2 Test opendir() function : usage variations - open a directory twice 12 * Call opendir() twice with the same directory as $path argument 15 echo "*** Testing opendir() : usage variation ***\n"; 21 var_dump($dh1 = opendir($path)); 24 var_dump($dh2 = opendir($path)); 41 *** Testing opendir() : usage variation ***
|
H A D | opendir_variation5.phpt | 2 Test opendir() function : usage variations - directories with restricted permissions 13 * remove the execute permission from the parent dir and test opendir() on child dir 14 * 1) remove write & execute permission from the 1st parent and test opendir() 15 * 2) remove execute permission from 2nd parent and test opendir() 18 echo "*** Testing opendir() : usage variations ***\n"; 43 $dir_handle1 = opendir($child_dir_path); 51 $dir_handle2 = opendir($child_dir_path); // try to open, expected failure 77 *** Testing opendir() : usage variations *** 81 Warning: opendir(%s/opendir_variation5/sub_dir/child_dir): Failed to open directory: %s in %s on li… 86 Warning: opendir(%s/opendir_variation5/sub_dir/child_dir): Failed to open directory: %s in %s on li…
|
H A D | opendir_variation7.phpt | 2 Test opendir() function : usage variations - different directory permissions 13 * Open a directory using opendir() with different directory permissions 16 echo "*** Testing opendir() : usage variations ***\n"; 57 var_dump($dh = opendir($dir_path)); 72 *** Testing opendir() : usage variations ***
|
/PHP-8.0/tests/security/ |
H A D | open_basedir_opendir.phpt | 9 test_open_basedir_before("opendir"); 10 test_open_basedir_error("opendir"); 12 var_dump(opendir($initdir."/test/ok/")); 13 var_dump(opendir($initdir."/test/ok")); 14 var_dump(opendir($initdir."/test/ok/../ok")); 16 test_open_basedir_after("opendir");?> 23 *** Testing open_basedir configuration [opendir] *** 42 Warning: opendir(..): Failed to open directory: %s in %s on line %d 47 Warning: opendir(../): Failed to open directory: %s in %s on line %d 52 Warning: opendir(/): Failed to open directory: %s in %s on line %d [all …]
|
/PHP-8.0/ext/standard/tests/streams/ |
H A D | bug49936_win32.phpt | 15 var_dump(opendir($dir)); 16 var_dump(opendir($dir)); 20 Warning: opendir(): connect() failed: %s in %s on line %d 22 Warning: opendir(ftp://...@localhost/): Failed to open directory: operation failed in %s on line %d 25 Warning: opendir(): connect() failed: %s in %s on line %d 27 Warning: opendir(ftp://...@localhost/): Failed to open directory: operation failed in %s on line %d
|
H A D | glob-wrapper.phpt | 13 $dir = opendir($spec); 27 Warning: opendir(): open_basedir restriction in effect. File(%s) is not within the allowed path(s):… 29 Warning: opendir(%s): Failed to open directory: Operation not permitted in %s%eglob-wrapper.php on … 33 Warning: opendir(): open_basedir restriction in effect. File(%s) is not within the allowed path(s):… 35 Warning: opendir(glob://%s): Failed to open directory: operation failed in %s%eglob-wrapper.php on …
|
H A D | opendir-001.phpt | 2 opendir() with 'ftp://' stream. 15 var_dump(opendir($path)); 18 Warning: opendir(ftp://localhost:%d/bogusdir): Failed to open directory: FTP server reports 250 /bo…
|
H A D | opendir-003.phpt | 2 opendir() with 'ftps://' stream. 19 var_dump(opendir($path, $context)); 22 Warning: opendir(ftps://127.0.0.1:%d/bogusdir): Failed to open directory: FTP server reports 250 /b…
|
H A D | bug49936.phpt | 13 var_dump(@opendir($dir)); 14 var_dump(@opendir($dir));
|
H A D | opendir-002.phpt | 2 opendir() with 'ftp://' stream. 15 $ds=opendir($path);
|
H A D | bug72771.phpt | 16 $ds=opendir($path, $context); 20 Warning: opendir(ftps://127.0.0.1:%d/): Failed to open directory: Server doesn't support FTPS. in %…
|
/PHP-8.0/ext/phar/tests/ |
H A D | opendir_edgecases.phpt | 2 Phar: test edge cases of opendir() function interception 16 opendir(array()); 24 $a = opendir('opendir_edgecases'); 39 $a = opendir(".", $context); 48 opendir("oops"); 58 opendir(): Argument #1 ($directory) must be of type string, array given 63 Warning: opendir(phar://%sopendir_edgecases.phar.php/oops): Failed to open directory: %s in phar://…
|
H A D | opendir.phpt | 2 Phar: test opendir() interception 13 $a = opendir("dir"); 30 opendir('phar://'); 31 opendir('phar://hi.phar'); 38 Warning: opendir(phar://): Failed to open directory: phar error: no directory in "phar://", must ha… 41 Warning: opendir(phar://hi.phar): Failed to open directory: phar error: invalid url or non-existent…
|
H A D | 027.phpt | 2 Phar: phar:// opendir 27 $dir = opendir($phar . $base); 45 $a = opendir($pname); 55 echo "opendir edge cases\n"; 56 var_dump(opendir("phar://")); 57 var_dump(opendir("phar://foo.phar/hi")); 86 opendir edge cases 88 Warning: opendir(phar://): Failed to open directory: phar error: no directory in "phar://", must ha… 92 Warning: opendir(phar://foo.phar/hi): Failed to open directory: phar error: invalid url or non-exis…
|
H A D | 017.phpt | 2 Phar: opendir test - no dir specified at all 24 $dir = opendir('phar://hio'); 32 Warning: opendir(phar://hio): Failed to open directory: phar error: no directory in "phar://hio", m…
|
/PHP-8.0/ext/zlib/tests/ |
H A D | zlib_scheme_dir_basic.phpt | 15 var_dump(opendir($srcFile)); 22 Warning: opendir(compress.zlib://%s/dir.gz): Failed to open directory: not implemented in %s on lin…
|
Completed in 31 milliseconds
123456