Test: /ext/standard/tests/streams/bug49936.phpt - Version 5.3.15-dev        

Bug #49936 crash with ftp stream in php_stream_context_get_option()
Submitted: 2009-10-20 22:12:21 Modified: 2009-11-28 16:38:13
From: marielyne Assigned: pierrick
Status: Closed Package: Filesystem function related
PHP Version: 5.3SVN-2009-10-20 (snap) OS: Windows 7

There are 3 different diffs reported by users for this test.

Count Diff
3 (50%)
001+ Warning: opendir(ftp://...@localhost/): failed to open dir: operation failed in %s/bug49936.php on line 5
002+ bool(false)
001- Warning: opendir(): connect() failed: Connection refused in %s on line %d
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)
2 (33%)
001+ Warning: opendir(): connect() failed: Network is unreachable in %s/bug49936.php on line 5
001- Warning: opendir(): connect() failed: Connection refused in %s on line %d
006+ Warning: opendir(): connect() failed: Network is unreachable in %s/bug49936.php on line 6
006- Warning: opendir(): connect() failed: Connection refused in %s on line %d
1 (17%)
001+ Warning: opendir(): ftp:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug49936.php on line 5
001- Warning: opendir(): connect() failed: Connection refused in %s on line %d
003+ Warning: opendir(ftp://...@localhost/): failed to open dir: no suitable wrapper could be found in %s/bug49936.php on line 5
003- Warning: opendir(ftp://...@localhost/): failed to open dir: operation failed in %s on line %d
006+ Warning: opendir(): ftp:// wrapper is disabled in the server configuration by allow_url_fopen=0 in %s/bug49936.php on line 6
006- Warning: opendir(): connect() failed: Connection refused in %s on line %d
008+ Warning: opendir(ftp://...@localhost/): failed to open dir: no suitable wrapper could be found in %s/bug49936.php on line 6
008- Warning: opendir(ftp://...@localhost/): failed to open dir: operation failed in %s on line %d