mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Fix test.. the errormessage is irrelevant, we are testing if we segfault and corrupt return value
This commit is contained in:
parent
191835fd3d
commit
1e6a82a1cf
@ -10,14 +10,12 @@ if( substr(PHP_OS, 0, 3) == "WIN" )
|
|||||||
|
|
||||||
$dir = 'ftp://your:self@localhost/';
|
$dir = 'ftp://your:self@localhost/';
|
||||||
|
|
||||||
var_dump(opendir($dir));
|
var_dump(@opendir($dir));
|
||||||
var_dump(opendir($dir));
|
var_dump(@opendir($dir));
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
===DONE===
|
||||||
--EXPECTF--
|
--EXPECTF--
|
||||||
Warning: opendir(ftp://...@localhost/): failed to open dir: not implemented in %s on line %d
|
|
||||||
bool(false)
|
bool(false)
|
||||||
|
|
||||||
Warning: opendir(ftp://...@localhost/): failed to open dir: not implemented in %s on line %d
|
|
||||||
bool(false)
|
bool(false)
|
||||||
|
===DONE===
|
||||||
|
Loading…
Reference in New Issue
Block a user