Test: /ext/standard/tests/streams/stream_get_meta_data_socket_variation3.phpt - Version 5.5.0    

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

Count Diff
3 (43%)
001+ Warning: stream_socket_server(): unable to connect to tcp://127.0.0.1:31337 (Cannot assign requested address) in %s/stream_get_meta_data_socket_variation3.php on line 4
002+
003+ ** ERROR: process timed out **
001- array(7) {
002- ["stream_type"]=>
003- string(%d) "tcp_socke%s"
004- ["mode"]=>
005- string(2) "r+"
006- ["unread_bytes"]=>
007- int(0)
008- ["seekable"]=>
009- bool(false)
010- ["timed_out"]=>
011- bool(false)
012- ["blocked"]=>
013- bool(true)
014- ["eof"]=>
015- bool(false)
016- }
017-
018-
019- Set blocking to false:
020- bool(true)
021- array(7) {
022- ["stream_type"]=>
023- string(%d) "tcp_socke%s"
024- ["mode"]=>
025- string(2) "r+"
026- ["unread_bytes"]=>
027- int(0)
028- ["seekable"]=>
029- bool(false)
030- ["timed_out"]=>
031- bool(false)
032- ["blocked"]=>
033- bool(false)
034- ["eof"]=>
035- bool(false)
036- }
037-
038-
039- Set blocking to true:
040- bool(true)
041- array(7) {
042- ["stream_type"]=>
043- string(%d) "tcp_socke%s"
044- ["mode"]=>
045- string(2) "r+"
046- ["unread_bytes"]=>
047- int(0)
048- ["seekable"]=>
049- bool(false)
050- ["timed_out"]=>
051- bool(false)
052- ["blocked"]=>
053- bool(true)
054- ["eof"]=>
055- bool(false)
056- }
1 (14%)
001+ Warning: stream_socket_server(): unable to connect to tcp://127.0.0.1:31337 (Permission denied) in %s/stream_get_meta_data_socket_variation3.php on line 4
002+
003+ Warning: fsockopen(): unable to connect to tcp://127.0.0.1:31337:-1 (Connection refused) in %s/stream_get_meta_data_socket_variation3.php on line 7
004+ Unable to create socket
001- array(7) {
002- ["stream_type"]=>
003- string(%d) "tcp_socke%s"
004- ["mode"]=>
005- string(2) "r+"
006- ["unread_bytes"]=>
007- int(0)
008- ["seekable"]=>
009- bool(false)
010- ["timed_out"]=>
011- bool(false)
012- ["blocked"]=>
013- bool(true)
014- ["eof"]=>
015- bool(false)
016- }
017-
018-
019- Set blocking to false:
020- bool(true)
021- array(7) {
022- ["stream_type"]=>
023- string(%d) "tcp_socke%s"
024- ["mode"]=>
025- string(2) "r+"
026- ["unread_bytes"]=>
027- int(0)
028- ["seekable"]=>
029- bool(false)
030- ["timed_out"]=>
031- bool(false)
032- ["blocked"]=>
033- bool(false)
034- ["eof"]=>
035- bool(false)
036- }
037-
038-
039- Set blocking to true:
040- bool(true)
041- array(7) {
042- ["stream_type"]=>
043- string(%d) "tcp_socke%s"
044- ["mode"]=>
045- string(2) "r+"
046- ["unread_bytes"]=>
047- int(0)
048- ["seekable"]=>
049- bool(false)
050- ["timed_out"]=>
051- bool(false)
052- ["blocked"]=>
053- bool(true)
054- ["eof"]=>
055- bool(false)
056- }
1 (14%)
001+ Warning: fsockopen(): unable to connect to tcp://127.0.0.1:31337:-1 (Connection timed out) in %s/stream_get_meta_data_socket_variation3.php on line 7
002+ Unable to create socket
001- array(7) {
002- ["stream_type"]=>
003- string(%d) "tcp_socke%s"
004- ["mode"]=>
005- string(2) "r+"
006- ["unread_bytes"]=>
007- int(0)
008- ["seekable"]=>
009- bool(false)
010- ["timed_out"]=>
011- bool(false)
012- ["blocked"]=>
013- bool(true)
014- ["eof"]=>
015- bool(false)
016- }
017-
018-
019- Set blocking to false:
020- bool(true)
021- array(7) {
022- ["stream_type"]=>
023- string(%d) "tcp_socke%s"
024- ["mode"]=>
025- string(2) "r+"
026- ["unread_bytes"]=>
027- int(0)
028- ["seekable"]=>
029- bool(false)
030- ["timed_out"]=>
031- bool(false)
032- ["blocked"]=>
033- bool(false)
034- ["eof"]=>
035- bool(false)
036- }
037-
038-
039- Set blocking to true:
040- bool(true)
041- array(7) {
042- ["stream_type"]=>
043- string(%d) "tcp_socke%s"
044- ["mode"]=>
045- string(2) "r+"
046- ["unread_bytes"]=>
047- int(0)
048- ["seekable"]=>
049- bool(false)
050- ["timed_out"]=>
051- bool(false)
052- ["blocked"]=>
053- bool(true)
054- ["eof"]=>
055- bool(false)
056- }
1 (14%)
001+ Warning: fsockopen(): unable to connect to tcp://127.0.0.1:31337:-1 (Connection refused) in %s/stream_get_meta_data_socket_variation3.php on line 7
002+ Unable to create socket
001- array(7) {
002- ["stream_type"]=>
003- string(%d) "tcp_socke%s"
004- ["mode"]=>
005- string(2) "r+"
006- ["unread_bytes"]=>
007- int(0)
008- ["seekable"]=>
009- bool(false)
010- ["timed_out"]=>
011- bool(false)
012- ["blocked"]=>
013- bool(true)
014- ["eof"]=>
015- bool(false)
016- }
017-
018-
019- Set blocking to false:
020- bool(true)
021- array(7) {
022- ["stream_type"]=>
023- string(%d) "tcp_socke%s"
024- ["mode"]=>
025- string(2) "r+"
026- ["unread_bytes"]=>
027- int(0)
028- ["seekable"]=>
029- bool(false)
030- ["timed_out"]=>
031- bool(false)
032- ["blocked"]=>
033- bool(false)
034- ["eof"]=>
035- bool(false)
036- }
037-
038-
039- Set blocking to true:
040- bool(true)
041- array(7) {
042- ["stream_type"]=>
043- string(%d) "tcp_socke%s"
044- ["mode"]=>
045- string(2) "r+"
046- ["unread_bytes"]=>
047- int(0)
048- ["seekable"]=>
049- bool(false)
050- ["timed_out"]=>
051- bool(false)
052- ["blocked"]=>
053- bool(true)
054- ["eof"]=>
055- bool(false)
056- }
1 (14%)
001+ ** ERROR: process timed out **
001- array(7) {
002- ["stream_type"]=>
003- string(%d) "tcp_socke%s"
004- ["mode"]=>
005- string(2) "r+"
006- ["unread_bytes"]=>
007- int(0)
008- ["seekable"]=>
009- bool(false)
010- ["timed_out"]=>
011- bool(false)
012- ["blocked"]=>
013- bool(true)
014- ["eof"]=>
015- bool(false)
016- }
017-
018-
019- Set blocking to false:
020- bool(true)
021- array(7) {
022- ["stream_type"]=>
023- string(%d) "tcp_socke%s"
024- ["mode"]=>
025- string(2) "r+"
026- ["unread_bytes"]=>
027- int(0)
028- ["seekable"]=>
029- bool(false)
030- ["timed_out"]=>
031- bool(false)
032- ["blocked"]=>
033- bool(false)
034- ["eof"]=>
035- bool(false)
036- }
037-
038-
039- Set blocking to true:
040- bool(true)
041- array(7) {
042- ["stream_type"]=>
043- string(%d) "tcp_socke%s"
044- ["mode"]=>
045- string(2) "r+"
046- ["unread_bytes"]=>
047- int(0)
048- ["seekable"]=>
049- bool(false)
050- ["timed_out"]=>
051- bool(false)
052- ["blocked"]=>
053- bool(true)
054- ["eof"]=>
055- bool(false)
056- }