Test: /sapi/cli/tests/php_cli_server_006.phpt - Version 5.4.1    

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

Count Diff
21 (84%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection refused) in %s/php_cli_server_006.php on line 8
002+ connect failed
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: close
004- X-Powered-By: PHP/%s
005- Content-type: text/html
006-
007- string(3) "foo"
008- string(3) "bar"
1 (4%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Permission denied) in %s/php_cli_server_006.php on line 8
002+ connect failed
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: close
004- X-Powered-By: PHP/%s
005- Content-type: text/html
006-
007- string(3) "foo"
008- string(3) "bar"
1 (4%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Network is unreachable) in %s/php_cli_server_006.php on line 8
002+ connect failed
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: close
004- X-Powered-By: PHP/%s
005- Content-type: text/html
006-
007- string(3) "foo"
008- string(3) "bar"
1 (4%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection timed out) in %s/php_cli_server_006.php on line 8
002+ connect failed
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: close
004- X-Powered-By: PHP/%s
005- Content-type: text/html
006-
007- string(3) "foo"
008- string(3) "bar"
1 (4%)
001+ <br />
002+ <b>Warning</b>: Unknown: php_network_getaddresses: getaddrinfo failed: Name or service not known in <b>Unknown</b> on line <b>0</b><br />
003+
004+ Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in %s/php_cli_server_006.php on line 8
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: close
004- X-Powered-By: PHP/%s
005- Content-type: text/html
006+ Warning: fsockopen(): unable to connect to localhost:8964 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in %s/php_cli_server_006.php on line 8
007+ connect failed
007- string(3) "foo"
008- string(3) "bar"