Test: /ext/standard/tests/file/fgets_socket_variation2.phpt - Version 5.4.8    

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

Count Diff
2 (33%)
001+ Warning: stream_socket_server(): unable to connect to tcp://127.0.0.1:31337 (Permission denied) in %s/fgets_socket_variation2.php on line 15
001- Write data from the file:
002- int(9000)
003+ Warning: fsockopen(): unable to connect to tcp://127.0.0.1:31337:-1 (Connection refused) in %s/fgets_socket_variation2.php on line 18
004+ Unable to create socket
004- Read lines from the client
005-
006- Close the server side socket and read the remaining data from the client
007- done
1 (17%)
001+ Warning: stream_socket_server(): unable to connect to tcp://127.0.0.1:31337 (Address already in use) in %s/fgets_socket_variation2.php on line 15
002+
003+ Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in %s/fgets_socket_variation2.php on line 25
002- int(9000)
005+
006+ Warning: fwrite() expects parameter 1 to be resource, boolean given in %s/fgets_socket_variation2.php on line 31
007+ bool(false)
009+ Warning: fclose() expects parameter 1 to be resource, boolean given in %s/fgets_socket_variation2.php on line 32
010+
014+
015+ Warning: fclose() expects parameter 1 to be resource, boolean given in %s/fgets_socket_variation2.php on line 43
1 (17%)
001+ Warning: fsockopen(): unable to connect to tcp://127.0.0.1:31337:-1 (Permission denied) in %s/fgets_socket_variation2.php on line 18
002+ Unable to create socket
001- Write data from the file:
002- int(9000)
003-
004- Read lines from the client
005-
006- Close the server side socket and read the remaining data from the client
007- done
1 (17%)
001+ Warning: fsockopen(): unable to connect to tcp://127.0.0.1:31337:-1 (Connection timed out) in %s/fgets_socket_variation2.php on line 18
002+ Unable to create socket
001- Write data from the file:
002- int(9000)
003-
004- Read lines from the client
005-
006- Close the server side socket and read the remaining data from the client
007- done
1 (17%)
001+ ** ERROR: process timed out **
001- Write data from the file:
002- int(9000)
003-
004- Read lines from the client
005-
006- Close the server side socket and read the remaining data from the client
007- done