--TEST-- opendir() with 'ftps://' stream. --SKIPIF-- --FILE-- array('cafile' => __DIR__ . '/../../../ftp/tests/cert.pem'))); $ds=opendir($path, $context); var_dump($ds); while ($fn=readdir($ds)) { var_dump($fn); } ?> ==DONE== --EXPECTF-- resource(%d) of type (stream) string(5) "file1" string(5) "file1" string(3) "fil" string(4) "b0rk" ==DONE==