Test: /sapi/cli/tests/php_cli_server_009.phpt - Version 7.0.8    

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

Count Diff
3 (27%)
015+ HTTP/1.0 200 OK
015- HTTP/1.0 404 Not Found
3 (27%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection refused) in %s/php_cli_server_009.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; charset=UTF-8
006-
007- string(8) "/foo/bar"
008- HTTP/1.0 200 OK
009- Host: %s
010- Connection: close
011- X-Powered-By: PHP/%s
012- Content-type: text/html; charset=UTF-8
013-
014- string(9) "/foo/bar/"
015- HTTP/1.0 404 Not Found
3 (27%)
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_009.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; charset=UTF-8
006+ Warning: fsockopen(): unable to connect to localhost:8964 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in %s/php_cli_server_009.php on line 8
007+ connect failed
007- string(8) "/foo/bar"
008- HTTP/1.0 200 OK
009- Host: %s
010- Connection: close
011- X-Powered-By: PHP/%s
012- Content-type: text/html; charset=UTF-8
013-
014- string(9) "/foo/bar/"
015- HTTP/1.0 404 Not Found
1 (9%)
007+ int(17)
007- string(8) "/foo/bar"
014+ int(17)
015+ HTTP/1.0 200 OK
014- string(9) "/foo/bar/"
015- HTTP/1.0 404 Not Found
1 (9%)
007+ Hello World!
008+ Hello World!HTTP/1.0 200 OK
007- string(8) "/foo/bar"
008- HTTP/1.0 200 OK
014+ Hello World!
015+ Hello World!HTTP/1.0 200 OK
014- string(9) "/foo/bar/"
015- HTTP/1.0 404 Not Found