mirror of
https://github.com/php/php-src.git
synced 2026-04-29 11:13:36 +02:00
a555cc0b3d
Remove most of the `===DONE===` tags and its variations. Keep `===DONE===` if the test output otherwise becomes empty. Closes GH-4872.
20 lines
318 B
PHP
20 lines
318 B
PHP
--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));
|
|
|
|
?>
|
|
--EXPECT--
|
|
bool(false)
|
|
bool(false)
|