Test: /ext/standard/tests/file/fgets_socket_variation1.phpt - Version 5.4.25    

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

Count Diff
1 (33%)
001+ Warning: fsockopen(): unable to connect to tcp://127.0.0.1:47072:-1 (Connection refused) in %s/fgets_socket_variation1.php on line 13
002+ Unable to create socket
001- Write some data:
002-
003-
004- Read a line from the client:
005- string(6) "line1
006- "
007-
008-
009- Read another line from the client:
010- string(6) "line2
011- "
012-
013-
014- Close the server side socket and read the remaining data from the client
015- done
1 (33%)
001+ Warning: fsockopen(): unable to connect to tcp://127.0.0.1:40754:-1 (Connection timed out) in %s/fgets_socket_variation1.php on line 13
002+ Unable to create socket
001- Write some data:
002-
003-
004- Read a line from the client:
005- string(6) "line1
006- "
007-
008-
009- Read another line from the client:
010- string(6) "line2
011- "
012-
013-
014- Close the server side socket and read the remaining data from the client
015- done
1 (33%)
001+ ** ERROR: process timed out **
001- Write some data:
002-
003-
004- Read a line from the client:
005- string(6) "line1
006- "
007-
008-
009- Read another line from the client:
010- string(6) "line2
011- "
012-
013-
014- Close the server side socket and read the remaining data from the client
015- done