blob: dccf87474c802766110879bc7ac92a67aff281cd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
--TEST--
Bug #49936 (crash with ftp stream in php_stream_context_get_option())
--SKIPIF--
<?php
if( substr(PHP_OS, 0, 3) == "WIN" )
die("skip. Do not run on Windows");
?>
--FILE--
<?php
$dir = 'ftp://your:self@localhost/';
var_dump(@opendir($dir));
var_dump(@opendir($dir));
?>
===DONE===
--EXPECT--
bool(false)
bool(false)
===DONE===
|