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

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

Count Diff
16 (80%)
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 (5%)
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_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
006+ 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
007+ 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/"
1 (5%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection timed out) 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 (5%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Network is unreachable) 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 (5%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Permission denied) 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/"