Test: /sapi/cli/tests/php_cli_server_004.phpt - Version 5.4.2    

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

Count Diff
16 (89%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection refused) in %s/php_cli_server_004.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(19) "HTTP_HOST:localhost"
008- string(21) "HTTP_USER_AGENT:dummy"
009- string(15) "HTTP_CUSTOM:foo"
010- string(32) "HTTP_REFERER:http://www.php.net/"
1 (6%)
1 (6%)
001+ Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in %s/php_cli_server_004.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
003+ Warning: fsockopen(): unable to connect to localhost:8964 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in %s/php_cli_server_004.php on line 8
004+ connect failed
007- string(19) "HTTP_HOST:localhost"
008- string(21) "HTTP_USER_AGENT:dummy"
009- string(15) "HTTP_CUSTOM:foo"
010- string(32) "HTTP_REFERER:http://www.php.net/"