Test Failure Report for ext/standard/tests/streams/bug49936.phpt ('Bug #49936 (crash with ftp stream in php_stream_context_get_option())')
Script
1:
<?php 2: 3: $dir = 'ftp://your:self@localhost/'; 4: 5: var_dump(opendir($dir)); 6: var_dump(opendir($dir)); 7: 8: ?> 9:
Expected
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)
Output
Warning: opendir(ftp://...@localhost/): failed to open dir: not implemented in /var/php_gcov/PHP_5_3/ext/standard/tests/streams/bug49936.php on line 5
bool(false)
Warning: opendir(ftp://...@localhost/): failed to open dir: not implemented in /var/php_gcov/PHP_5_3/ext/standard/tests/streams/bug49936.php on line 6
bool(false)
Diff
001+ Warning: opendir(ftp://...@localhost/): failed to open dir: not implemented in /var/php_gcov/PHP_5_3/ext/standard/tests/streams/bug49936.php on line 5
002+ bool(false)
001- Warning: opendir(): connect() failed: Connection refused in %s on line %d
003- Warning: opendir(ftp://...@localhost/): failed to open dir: operation failed in %s on line %d
004+ Warning: opendir(ftp://...@localhost/): failed to open dir: not implemented in /var/php_gcov/PHP_5_3/ext/standard/tests/streams/bug49936.php on line 6
005-
006- Warning: opendir(): connect() failed: Connection refused in %s on line %d
007-
008- Warning: opendir(ftp://...@localhost/): failed to open dir: operation failed in %s on line %d
009- bool(false)
Generated at Sun, 19 May 2013 20:27:25 +0000 (6 days ago)
|