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