/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
dir
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/dir/bug80960.phpt
--TEST-- Fix #80960 (opendir() warning wrong info when failed on Windows) --SKIPIF-- <?php if (PHP_OS_FAMILY !== "Windows") die("skip for Windows only"); ?> --INI-- log_errors_max_len=0 --FILE-- <?php opendir("notexist*"); opendir("notexist?"); opendir(str_pad("longname", PHP_MAXPATHLEN - strlen(getcwd()), "_")); ?> --EXPECTF-- Warning: opendir(notexist*): %s (code: 123) in %s on line %d Warning: opendir(notexist*): Failed to open directory: No such file or directory in %s on line %d Warning: opendir(notexist?): %s (code: 123) in %s on line %d Warning: opendir(notexist?): Failed to open directory: No such file or directory in %s on line %d Warning: opendir(longname%r_+%r): %s (code: 111) in %s on line %d Warning: opendir(longname%r_+%r): Failed to open directory: Filename too long in %s on line %d
Copyright ©2k19 -
Hexid
|
Tex7ure