/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
standard
/
tests
/
streams
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/standard/tests/streams/opendir-001.phpt
--TEST-- opendir() with 'ftp://' stream. --SKIPIF-- <?php if (array_search('ftp',stream_get_wrappers()) === FALSE) die("skip ftp wrapper not available."); if (!function_exists('pcntl_fork')) die("skip pcntl_fork() not available."); ?> --FILE-- <?php require __DIR__ . "/../../../ftp/tests/server.inc"; $path="ftp://localhost:" . $port."/bogusdir"; var_dump(opendir($path)); ?> --EXPECTF-- Warning: opendir(ftp://localhost:%d/bogusdir): Failed to open directory: FTP server reports 250 /bogusdir: No such file or directory in %s on line %d bool(false)
Copyright ©2k19 -
Hexid
|
Tex7ure