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

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

Count Diff
2 (29%)
001+ Warning: stream_socket_server(): unable to connect to tcp://127.0.0.1:31337 (Address already in use) in %s/fgets_socket_variation1.php on line 4
002+
003+ Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in %s/fgets_socket_variation1.php on line 14
005- string(6) "line1
006- "
006+ Warning: fwrite() expects parameter 1 to be resource, boolean given in %s/fgets_socket_variation1.php on line 17
008+
010+ bool(false)
010- string(6) "line2
011- "
014+ bool(false)
018+
019+ Warning: fclose() expects parameter 1 to be resource, boolean given in %s/fgets_socket_variation1.php on line 27
020+
021+ Warning: fclose() expects parameter 1 to be resource, boolean given in %s/fgets_socket_variation1.php on line 28
1 (14%)
001+ Warning: stream_socket_server(): unable to connect to tcp://127.0.0.1:31337 (Permission denied) in %s/fgets_socket_variation1.php on line 4
001- Write some data:
003+ Warning: fsockopen(): unable to connect to tcp://127.0.0.1:31337:-1 (Connection refused) in %s/fgets_socket_variation1.php on line 7
004+ Unable to create socket
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 (14%)
001+ Warning: stream_socket_server(): unable to connect to tcp://127.0.0.1:31337 (Cannot assign requested address) in %s/fgets_socket_variation1.php on line 4
001- Write some data:
003+ ** ERROR: process timed out **
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 (14%)
001+ Warning: stream_socket_server(): unable to connect to tcp://127.0.0.1:31337 (Address already in use) in %s/fgets_socket_variation1.php on line 4
002+
003+ Warning: stream_socket_accept() expects parameter 1 to be resource, boolean given in %s/fgets_socket_variation1.php on line 14
005- string(6) "line1
006+ Warning: fwrite() expects parameter 1 to be resource, boolean given in %s/fgets_socket_variation1.php on line 17
008+
010+ string(20) "SSH-2.0-OpenSSH_5.0
010- string(6) "line2
011- "
015+ bool(false)
019+
020+ Warning: fclose() expects parameter 1 to be resource, boolean given in %s/fgets_socket_variation1.php on line 27
021+
022+ Warning: fclose() expects parameter 1 to be resource, boolean given in %s/fgets_socket_variation1.php on line 28
1 (14%)
001+ /home/ms/mysoft/php-5.4.9/sapi/cli/php: relocation error: /home/ms/mysoft/php-5.4.9/sapi/cli/php: symbol __fixunsdfdi, version libmysqlclient_15 not defined in file libmysqlclient.so.15 with link time reference
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 (14%)
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