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

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

Count Diff
20 (67%)
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)
8 (27%)
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)
1 (3%)
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 (3%)
001+ Warning: opendir(): connect() failed: Operation not permitted 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 not permitted in %s/bug49936.php on line 6
006- Warning: opendir(): connect() failed: Connection refused in %s on line %d