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

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

Count Diff
64 (77%)
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/"
5 (6%)
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/"
4 (5%)
001+ ** ERROR: process timed out **
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/"
4 (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/"
4 (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 (1%)
1 (1%)
007+ <br />
008+ <b>Warning</b>: Unknown: failed to open stream: No such file or directory in <b>Unknown</b> on line <b>0</b><br />
009+ <br />
010+ <b>Fatal error</b>: Unknown: Failed opening required 'index.php' (include_path='.:/home/huixinchen/local/php54-zts//lib/php') in <b>Unknown</b> on line <b>0</b><br />
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/"