--- embedaddon/php/ext/standard/tests/streams/bug49936.phpt 2012/02/21 23:48:04 1.1.1.1 +++ embedaddon/php/ext/standard/tests/streams/bug49936.phpt 2012/05/29 12:34:44 1.1.1.2 @@ -10,17 +10,12 @@ if( substr(PHP_OS, 0, 3) == "WIN" ) $dir = 'ftp://your:self@localhost/'; -var_dump(opendir($dir)); -var_dump(opendir($dir)); +var_dump(@opendir($dir)); +var_dump(@opendir($dir)); ?> +===DONE=== --EXPECTF-- -Warning: opendir(): connect() failed: Connection refused in %s on line %d - -Warning: opendir(ftp://...@localhost/): failed to open dir: operation failed in %s on line %d bool(false) - -Warning: opendir(): connect() failed: Connection refused in %s on line %d - -Warning: opendir(ftp://...@localhost/): failed to open dir: operation failed in %s on line %d bool(false) +===DONE===