Test: /ext/standard/tests/streams/stream_get_meta_data_socket_variation4.phpt - Version 7.4.16    

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

Count Diff
3 (75%)
001+ Warning: fsockopen(): unable to connect to tcp://127.0.0.1:31334:-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- ["timed_out"]=> 004- bool(false) 005- ["blocked"]=> 006- bool(true) 007- ["eof"]=> 008- bool(false) 009- ["stream_type"]=> 010- string(%d) "tcp_socke%s" 011- ["mode"]=> 012- string(2) "r+" 013- ["unread_bytes"]=> 014- int(%i) 015- ["seekable"]=> 016- bool(false) 017- } 018- 019- 020- Read a line from the client: 021- array(7) { 022- ["timed_out"]=> 023- bool(false) 024- ["blocked"]=> 025- bool(true) 026- ["eof"]=> 027- bool(false) 028- ["stream_type"]=> 029- string(%d) "tcp_socke%s" 030- ["mode"]=> 031- string(2) "r+" 032- ["unread_bytes"]=> 033- int(%i) 034- ["seekable"]=> 035- bool(false) 036- } 037- 038- 039- Close the server side socket and read the remaining data from the client: 040- array(7) { 041- ["timed_out"]=> 042- bool(false) 043- ["blocked"]=> 044- bool(true) 045- ["eof"]=> 046- bool(true) 047- ["stream_type"]=> 048- string(%d) "tcp_socke%s" 049- ["mode"]=> 050- string(2) "r+" 051- ["unread_bytes"]=> 052- int(%i) 053- ["seekable"]=> 054- bool(false) 055- }
1 (25%)
001+ Warning: stream_socket_server(): unable to connect to tcp://127.0.0.1:31334 (Address already in use) 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:31334:-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- ["timed_out"]=> 004- bool(false) 005- ["blocked"]=> 006- bool(true) 007- ["eof"]=> 008- bool(false) 009- ["stream_type"]=> 010- string(%d) "tcp_socke%s" 011- ["mode"]=> 012- string(2) "r+" 013- ["unread_bytes"]=> 014- int(%i) 015- ["seekable"]=> 016- bool(false) 017- } 018- 019- 020- Read a line from the client: 021- array(7) { 022- ["timed_out"]=> 023- bool(false) 024- ["blocked"]=> 025- bool(true) 026- ["eof"]=> 027- bool(false) 028- ["stream_type"]=> 029- string(%d) "tcp_socke%s" 030- ["mode"]=> 031- string(2) "r+" 032- ["unread_bytes"]=> 033- int(%i) 034- ["seekable"]=> 035- bool(false) 036- } 037- 038- 039- Close the server side socket and read the remaining data from the client: 040- array(7) { 041- ["timed_out"]=> 042- bool(false) 043- ["blocked"]=> 044- bool(true) 045- ["eof"]=> 046- bool(true) 047- ["stream_type"]=> 048- string(%d) "tcp_socke%s" 049- ["mode"]=> 050- string(2) "r+" 051- ["unread_bytes"]=> 052- int(%i) 053- ["seekable"]=> 054- bool(false) 055- }