Test: /ext/standard/tests/streams/stream_get_meta_data_socket_variation4.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_variation4.php on line 4
002+
003+ ** ERROR: process timed out **
001- Write some data:
002- array(7) {
003- ["stream_type"]=>
004- string(%d) "tcp_socke%s"
005- ["mode"]=>
006- string(2) "r+"
007- ["unread_bytes"]=>
008- int(%i)
009- ["seekable"]=>
010- bool(false)
011- ["timed_out"]=>
012- bool(false)
013- ["blocked"]=>
014- bool(true)
015- ["eof"]=>
016- bool(false)
017- }
018-
019-
020- Read a line from the client:
021- array(7) {
022- ["stream_type"]=>
023- string(%d) "tcp_socke%s"
024- ["mode"]=>
025- string(2) "r+"
026- ["unread_bytes"]=>
027- int(%i)
028- ["seekable"]=>
029- bool(false)
030- ["timed_out"]=>
031- bool(false)
032- ["blocked"]=>
033- bool(true)
034- ["eof"]=>
035- bool(false)
036- }
037-
038-
039- Close the server side socket and read the remaining data from the client:
040- array(7) {
041- ["stream_type"]=>
042- string(%d) "tcp_socke%s"
043- ["mode"]=>
044- string(2) "r+"
045- ["unread_bytes"]=>
046- int(%i)
047- ["seekable"]=>
048- bool(false)
049- ["timed_out"]=>
050- bool(false)
051- ["blocked"]=>
052- bool(true)
053- ["eof"]=>
054- bool(true)
055- }
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_variation4.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_variation4.php on line 7
004+ Unable to create socket
001- Write some data:
002- array(7) {
003- ["stream_type"]=>
004- string(%d) "tcp_socke%s"
005- ["mode"]=>
006- string(2) "r+"
007- ["unread_bytes"]=>
008- int(%i)
009- ["seekable"]=>
010- bool(false)
011- ["timed_out"]=>
012- bool(false)
013- ["blocked"]=>
014- bool(true)
015- ["eof"]=>
016- bool(false)
017- }
018-
019-
020- Read a line from the client:
021- array(7) {
022- ["stream_type"]=>
023- string(%d) "tcp_socke%s"
024- ["mode"]=>
025- string(2) "r+"
026- ["unread_bytes"]=>
027- int(%i)
028- ["seekable"]=>
029- bool(false)
030- ["timed_out"]=>
031- bool(false)
032- ["blocked"]=>
033- bool(true)
034- ["eof"]=>
035- bool(false)
036- }
037-
038-
039- Close the server side socket and read the remaining data from the client:
040- array(7) {
041- ["stream_type"]=>
042- string(%d) "tcp_socke%s"
043- ["mode"]=>
044- string(2) "r+"
045- ["unread_bytes"]=>
046- int(%i)
047- ["seekable"]=>
048- bool(false)
049- ["timed_out"]=>
050- bool(false)
051- ["blocked"]=>
052- bool(true)
053- ["eof"]=>
054- bool(true)
055- }
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_variation4.php on line 7
002+ Unable to create socket
001- Write some data:
002- array(7) {
003- ["stream_type"]=>
004- string(%d) "tcp_socke%s"
005- ["mode"]=>
006- string(2) "r+"
007- ["unread_bytes"]=>
008- int(%i)
009- ["seekable"]=>
010- bool(false)
011- ["timed_out"]=>
012- bool(false)
013- ["blocked"]=>
014- bool(true)
015- ["eof"]=>
016- bool(false)
017- }
018-
019-
020- Read a line from the client:
021- array(7) {
022- ["stream_type"]=>
023- string(%d) "tcp_socke%s"
024- ["mode"]=>
025- string(2) "r+"
026- ["unread_bytes"]=>
027- int(%i)
028- ["seekable"]=>
029- bool(false)
030- ["timed_out"]=>
031- bool(false)
032- ["blocked"]=>
033- bool(true)
034- ["eof"]=>
035- bool(false)
036- }
037-
038-
039- Close the server side socket and read the remaining data from the client:
040- array(7) {
041- ["stream_type"]=>
042- string(%d) "tcp_socke%s"
043- ["mode"]=>
044- string(2) "r+"
045- ["unread_bytes"]=>
046- int(%i)
047- ["seekable"]=>
048- bool(false)
049- ["timed_out"]=>
050- bool(false)
051- ["blocked"]=>
052- bool(true)
053- ["eof"]=>
054- bool(true)
055- }
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_variation4.php on line 7
002+ Unable to create socket
001- Write some data:
002- array(7) {
003- ["stream_type"]=>
004- string(%d) "tcp_socke%s"
005- ["mode"]=>
006- string(2) "r+"
007- ["unread_bytes"]=>
008- int(%i)
009- ["seekable"]=>
010- bool(false)
011- ["timed_out"]=>
012- bool(false)
013- ["blocked"]=>
014- bool(true)
015- ["eof"]=>
016- bool(false)
017- }
018-
019-
020- Read a line from the client:
021- array(7) {
022- ["stream_type"]=>
023- string(%d) "tcp_socke%s"
024- ["mode"]=>
025- string(2) "r+"
026- ["unread_bytes"]=>
027- int(%i)
028- ["seekable"]=>
029- bool(false)
030- ["timed_out"]=>
031- bool(false)
032- ["blocked"]=>
033- bool(true)
034- ["eof"]=>
035- bool(false)
036- }
037-
038-
039- Close the server side socket and read the remaining data from the client:
040- array(7) {
041- ["stream_type"]=>
042- string(%d) "tcp_socke%s"
043- ["mode"]=>
044- string(2) "r+"
045- ["unread_bytes"]=>
046- int(%i)
047- ["seekable"]=>
048- bool(false)
049- ["timed_out"]=>
050- bool(false)
051- ["blocked"]=>
052- bool(true)
053- ["eof"]=>
054- bool(true)
055- }
1 (14%)
001+ ** ERROR: process timed out **
001- Write some data:
002- array(7) {
003- ["stream_type"]=>
004- string(%d) "tcp_socke%s"
005- ["mode"]=>
006- string(2) "r+"
007- ["unread_bytes"]=>
008- int(%i)
009- ["seekable"]=>
010- bool(false)
011- ["timed_out"]=>
012- bool(false)
013- ["blocked"]=>
014- bool(true)
015- ["eof"]=>
016- bool(false)
017- }
018-
019-
020- Read a line from the client:
021- array(7) {
022- ["stream_type"]=>
023- string(%d) "tcp_socke%s"
024- ["mode"]=>
025- string(2) "r+"
026- ["unread_bytes"]=>
027- int(%i)
028- ["seekable"]=>
029- bool(false)
030- ["timed_out"]=>
031- bool(false)
032- ["blocked"]=>
033- bool(true)
034- ["eof"]=>
035- bool(false)
036- }
037-
038-
039- Close the server side socket and read the remaining data from the client:
040- array(7) {
041- ["stream_type"]=>
042- string(%d) "tcp_socke%s"
043- ["mode"]=>
044- string(2) "r+"
045- ["unread_bytes"]=>
046- int(%i)
047- ["seekable"]=>
048- bool(false)
049- ["timed_out"]=>
050- bool(false)
051- ["blocked"]=>
052- bool(true)
053- ["eof"]=>
054- bool(true)
055- }