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

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 10 different diffs reported by users for this test.

Count Diff
60 (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)
34 (28%)
001+ Warning: opendir(ftp://...@localhost/): failed to open dir: not implemented in %s/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 %s/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)
11 (9%)
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
6 (5%)
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
4 (3%)
001+ Warning: opendir(): connect() failed: No route to host in %s/bug49936.php on line 5
001- Warning: opendir(): connect() failed: Connection refused in %s on line %d
006+ Warning: opendir(): connect() failed: No route to host in %s/bug49936.php on line 6
006- Warning: opendir(): connect() failed: Connection refused in %s on line %d
2 (2%)
001+ Warning: opendir(): php_network_getaddresses: getaddrinfo failed: Name or service not known in %s/bug49936.php on line 5
002+
003+ Warning: opendir(): connect() failed: php_network_getaddresses: getaddrinfo failed: Name or service not known in %s/bug49936.php on line 5
001- Warning: opendir(): connect() failed: Connection refused in %s on line %d
006- Warning: opendir(): connect() failed: Connection refused in %s on line %d
008+ Warning: opendir(): php_network_getaddresses: getaddrinfo failed: Name or service not known in %s/bug49936.php on line 6
009+
010+ Warning: opendir(): connect() failed: php_network_getaddresses: getaddrinfo failed: Name or service not known in %s/bug49936.php on line 6
1 (1%)
001+ Warning: opendir(): connect() failed: Operation timed out in %s/bug49936.php on line 5
001- Warning: opendir(): connect() failed: Connection refused in %s on line %d
006+ Warning: opendir(): connect() failed: Operation timed out in %s/bug49936.php on line 6
006- Warning: opendir(): connect() failed: Connection refused in %s on line %d
1 (1%)
001+ Warning: opendir(): Unable to find the wrapper "ftp" - did you forget to enable it when you configured PHP? 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 such file or directory 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(): Unable to find the wrapper "ftp" - did you forget to enable it when you configured PHP? 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 such file or directory in %s/bug49936.php on line 6
008- Warning: opendir(ftp://...@localhost/): failed to open dir: operation failed in %s on line %d
1 (1%)
001+ ** ERROR: process timed out **
001- Warning: opendir(): connect() failed: Connection refused in %s on line %d
002-
003- Warning: opendir(ftp://...@localhost/): failed to open dir: operation failed in %s on line %d
004- bool(false)
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)
1 (1%)