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

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

Count Diff
17 (89%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection refused) in %s/php_cli_server_013.php on line 9
002+ connect failed
001- HTTP/1.1 404 Not Found
002- Host: %s
003- Connection: close
004- Content-Type: text/html; charset=UTF-8
005- Content-Length: %d
006-
007- <html><head><title>404 Not Found</title><style type="text/css">AAA</style>
008- </head><body><h1 class="h">Not Found</h1><p>The requested resource / was not found on this server.</p></body></html>
009- HTTP/1.1 404 Not Found
010- Host: %s
011- Connection: close
012- Content-Type: text/html; charset=UTF-8
013- Content-Length: %d
014-
015- <html><head><title>404 Not Found</title><style type="text/css">AAA</style>
016- </head><body><h1 class="h">Not Found</h1><p>The requested resource /main/style.css was not found on this server.</p></body></html>
017- HTTP/1.1 404 Not Found
018- Host: %s
019- Connection: close
020- Content-Type: text/html; charset=UTF-8
021- Content-Length: %d
022-
023- <html><head><title>404 Not Found</title><style type="text/css">AAA</style>
024- </head><body><h1 class="h">Not Found</h1><p>The requested resource /main/foo/bar was not found on this server.</p></body></html>
1 (5%)
1 (5%)
001+ Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in %s/php_cli_server_013.php on line 9
001- HTTP/1.1 404 Not Found
002- Host: %s
003- Connection: close
004- Content-Type: text/html; charset=UTF-8
005- Content-Length: %d
003+ Warning: fsockopen(): unable to connect to localhost:8964 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in %s/php_cli_server_013.php on line 9
004+ connect failed
007- <html><head><title>404 Not Found</title><style type="text/css">AAA</style>
008- </head><body><h1 class="h">Not Found</h1><p>The requested resource / was not found on this server.</p></body></html>
009- HTTP/1.1 404 Not Found
010- Host: %s
011- Connection: close
012- Content-Type: text/html; charset=UTF-8
013- Content-Length: %d
014-
015- <html><head><title>404 Not Found</title><style type="text/css">AAA</style>
016- </head><body><h1 class="h">Not Found</h1><p>The requested resource /main/style.css was not found on this server.</p></body></html>
017- HTTP/1.1 404 Not Found
018- Host: %s
019- Connection: close
020- Content-Type: text/html; charset=UTF-8
021- Content-Length: %d
022-
023- <html><head><title>404 Not Found</title><style type="text/css">AAA</style>
024- </head><body><h1 class="h">Not Found</h1><p>The requested resource /main/foo/bar was not found on this server.</p></body></html>