Test: /sapi/cli/tests/php_cli_server_010.phpt - Version 5.5.3    

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

Count Diff
4 (29%)
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_010.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_010.php on line 8
007+ connect failed
007- string(18) "/index.php/foo/bar"
008- string(10) "/index.php"
009- string(8) "/foo/bar"
010- string(7) "foo=bar"
011- HTTP/1.0 200 OK
012- Host: %s
013- Connection: close
014- X-Powered-By: PHP/%s
015- Content-type: text/html
016-
017- string(19) "/index.php/foo/bar/"
018- string(10) "/index.php"
019- string(9) "/foo/bar/"
020- string(7) "foo=bar"
3 (21%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection timed out) in %s/php_cli_server_010.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(18) "/index.php/foo/bar"
008- string(10) "/index.php"
009- string(8) "/foo/bar"
010- string(7) "foo=bar"
011- HTTP/1.0 200 OK
012- Host: %s
013- Connection: close
014- X-Powered-By: PHP/%s
015- Content-type: text/html
016-
017- string(19) "/index.php/foo/bar/"
018- string(10) "/index.php"
019- string(9) "/foo/bar/"
020- string(7) "foo=bar"
2 (14%)
001+ /etc/host.conf: line 1: bad command `ServerName 162.20.1.55'
2 (14%)
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(18) "/index.php/foo/bar"
008- string(10) "/index.php"
009- string(8) "/foo/bar"
010- string(7) "foo=bar"
011- HTTP/1.0 200 OK
012- Host: %s
013- Connection: close
014- X-Powered-By: PHP/%s
015- Content-type: text/html
016-
017- string(19) "/index.php/foo/bar/"
018- string(10) "/index.php"
019- string(9) "/foo/bar/"
020- string(7) "foo=bar"
1 (7%)
011- HTTP/1.0 200 OK
012- Host: %s
013- Connection: close
014- X-Powered-By: PHP/%s
015- Content-type: text/html
012+ Warning: fsockopen(): unable to connect to localhost:8964 (Operation timed out) in %s/php_cli_server_010.php on line 27
013+ connect failed
017- string(19) "/index.php/foo/bar/"
018- string(10) "/index.php"
019- string(9) "/foo/bar/"
020- string(7) "foo=bar"
1 (7%)
001+ HTTP/1.1 404 Not Found
001- HTTP/1.1 200 OK
004+ Content-Type: text/html; charset=UTF-8
005+ Content-Length: 1160
004- X-Powered-By: PHP/%s
005- Content-type: text/html
007+ <html><head><title>404 Not Found</title><style type="text/css">
008+ body {background-color: #ffffff; color: #000000;}
009+ body, td, th, h1, h2 {font-family: sans-serif;}
010+ pre {margin: 0px; font-family: monospace;}
011+ a:link {color: #000099; text-decoration: none; background-color: #ffffff;}
012+ a:hover {text-decoration: underline;}
013+ table {border-collapse: collapse;}
014+ .center {text-align: center;}
015+ .center table { margin-left: auto; margin-right: auto; text-align: left;}
016+ .center th { text-align: center !important; }
017+ td, th { border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}
018+ h1 {font-size: 150%;}
019+ h2 {font-size: 125%;}
020+ .p {text-align: left;}
007- string(18) "/index.php/foo/bar"
008- string(10) "/index.php"
009- string(8) "/foo/bar"
010- string(7) "foo=bar"
011- HTTP/1.0 200 OK
012- Host: %s
013- Connection: close
014- X-Powered-By: PHP/%s
015- Content-type: text/html
016-
017- string(19) "/index.php/foo/bar/"
018- string(10) "/index.php"
019- string(9) "/foo/bar/"
020- string(7) "foo=bar"
021+ .e {background-color: #ccccff; font-weight: bold; color: #000000;}
022+ .h {background-color: #9999cc; font-weight: bold; color: #000000;}
023+ .v {background-color: #cccccc; color: #000000;}
024+ .vr {background-color: #cccccc; text-align: right; color: #000000;}
025+ img {float: right; border: 0px;}
026+ hr {width: 600px; background-color: #cccccc; border: 0px; height: 1px; color: #000000;}
027+ </style>
028+ </head><body><h1 class="h">Not Found</h1><p>The requested resource /foo/bar?foo=bar was not found on this server.</p></body></html>HTTP/1.0 404 Not Found
029+ Host: localhost
030+ Connection: close
031+ Content-Type: text/html; charset=UTF-8
032+ Content-Length: 1171
033+
034+ <html><head><title>404 Not Found</title><style type="text/css">
035+ body {background-color: #ffffff; color: #000000;}
036+ body, td, th, h1, h2 {font-family: sans-serif;}
037+ pre {margin: 0px; font-family: monospace;}
038+ a:link {color: #000099; text-decoration: none; background-color: #ffffff;}
039+ a:hover {text-decoration: underline;}
040+ table {border-collapse: collapse;}
041+ .center {text-align: center;}
042+ .center table { margin-left: auto; margin-right: auto; text-align: left;}
043+ .center th { text-align: center !important; }
044+ td, th { border: 1px solid #000000; font-size: 75%; vertical-align: baseline;}
045+ h1 {font-size: 150%;}
046+ h2 {font-size: 125%;}
047+ .p {text-align: left;}
048+ .e {background-color: #ccccff; font-weight: bold; color: #000000;}
049+ .h {background-color: #9999cc; font-weight: bold; color: #000000;}
050+ .v {background-color: #cccccc; color: #000000;}
051+ .vr {background-color: #cccccc; text-align: right; color: #000000;}
052+ img {float: right; border: 0px;}
053+ hr {width: 600px; background-color: #cccccc; border: 0px; height: 1px; color: #000000;}
054+ </style>
055+ </head><body><h1 class="h">Not Found</h1><p>The requested resource /index.php/foo/bar/?foo=bar was not found on this server.</p></body></html>
1 (7%)
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 />
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: close
004- X-Powered-By: PHP/%s
005- Content-type: text/html
004+ ** ERROR: process timed out **
007- string(18) "/index.php/foo/bar"
008- string(10) "/index.php"
009- string(8) "/foo/bar"
010- string(7) "foo=bar"
011- HTTP/1.0 200 OK
012- Host: %s
013- Connection: close
014- X-Powered-By: PHP/%s
015- Content-type: text/html
016-
017- string(19) "/index.php/foo/bar/"
018- string(10) "/index.php"
019- string(9) "/foo/bar/"
020- string(7) "foo=bar"