php IHDR w Q )Ba pHYs sRGB gAMA a IDATxMk\U s&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨ G;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j- $_q?qS XzG'ay
files >> /php-7.1.11/ext/standard/tests/streams/ |
files >> //php-7.1.11/ext/standard/tests/streams/opendir-002.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."/"; $ds=opendir($path); var_dump($ds); while ($fn=readdir($ds)) { var_dump($fn); } closedir($ds); ?> ==DONE== --EXPECTF-- resource(%d) of type (stream) string(5) "file1" string(5) "file1" string(3) "fil" string(4) "b0rk" ==DONE==y~or5J={Eeu磝Qk ᯘG{?+]ן?wM3X^歌>{7پK>on\jy Rg/=fOroNVv~Y+ NGuÝHWyw[eQʨSb> >}Gmx[o[<{Ϯ_qFvM IENDB`