repo.or.cz
/
tomato.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Updates to Tomato RAF including NGINX && PHP
[tomato.git]
/
release
/
src
/
router
/
php
/
ext
/
standard
/
tests
/
streams
/
bug49936.phpt
blob
d98db1d79900ce19f5642986bf04040ea87ae580
1
--TEST--
2
Bug #49936 (crash with ftp stream in php_stream_context_get_option())
3
--SKIPIF--
4
<?php
5
if( substr(PHP_OS, 0, 3) == "WIN" )
6
die("skip. Do not run on Windows");
7
?>
8
--FILE--
9
<?php
10
11
$dir = 'ftp://your:self@localhost/';
12
13
var_dump(@opendir($dir));
14
var_dump(@opendir($dir));
15
16
?>
17
===DONE===
18
--EXPECTF--
19
bool(false)
20
bool(false)
21
===DONE===