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

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

Count Diff
3 (27%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection refused) in %s/php_cli_server_019.php on line 14
002+ connect failed
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: close
004- X-Powered-By: %s
005- Bar-Foo: Foo
006- Content-type: text/html; charset=UTF-8
007-
008- array(2) {
009- ["Host"]=>
010- string(9) "localhost"
011- ["Foo-Bar"]=>
012- string(3) "Bar"
013- }
014- array(2) {
015- ["Host"]=>
016- string(9) "localhost"
017- ["Foo-Bar"]=>
018- string(3) "Bar"
019- }
020- array(3) {
021- ["X-Powered-By"]=>
022- string(%d) "P%s"
023- ["Bar-Foo"]=>
024- string(3) "Foo"
025- ["Content-type"]=>
026- string(24) "text/html; charset=UTF-8"
027- }
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_019.php on line 14
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: close
004- X-Powered-By: %s
005- Bar-Foo: Foo
006- 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_019.php on line 14
007+ connect failed
008- array(2) {
009- ["Host"]=>
010- string(9) "localhost"
011- ["Foo-Bar"]=>
012- string(3) "Bar"
013- }
014- array(2) {
015- ["Host"]=>
016- string(9) "localhost"
017- ["Foo-Bar"]=>
018- string(3) "Bar"
019- }
020- array(3) {
021- ["X-Powered-By"]=>
022- string(%d) "P%s"
023- ["Bar-Foo"]=>
024- string(3) "Foo"
025- ["Content-type"]=>
026- string(24) "text/html; charset=UTF-8"
027- }
3 (27%)
001+ ** ERROR: process timed out **
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: close
004- X-Powered-By: %s
005- Bar-Foo: Foo
006- Content-type: text/html; charset=UTF-8
007-
008- array(2) {
009- ["Host"]=>
010- string(9) "localhost"
011- ["Foo-Bar"]=>
012- string(3) "Bar"
013- }
014- array(2) {
015- ["Host"]=>
016- string(9) "localhost"
017- ["Foo-Bar"]=>
018- string(3) "Bar"
019- }
020- array(3) {
021- ["X-Powered-By"]=>
022- string(%d) "P%s"
023- ["Bar-Foo"]=>
024- string(3) "Foo"
025- ["Content-type"]=>
026- string(24) "text/html; charset=UTF-8"
027- }
1 (9%)
005- Bar-Foo: Foo
007+ Hello World!
008+ Hello World!
008- array(2) {
009- ["Host"]=>
010- string(9) "localhost"
011- ["Foo-Bar"]=>
012- string(3) "Bar"
013- }
014- array(2) {
015- ["Host"]=>
016- string(9) "localhost"
017- ["Foo-Bar"]=>
018- string(3) "Bar"
019- }
020- array(3) {
021- ["X-Powered-By"]=>
022- string(%d) "P%s"
023- ["Bar-Foo"]=>
024- string(3) "Foo"
025- ["Content-type"]=>
026- string(24) "text/html; charset=UTF-8"
027- }
1 (9%)
001- HTTP/1.1 200 OK
002- Host: %s
003- Connection: close
004- X-Powered-By: %s
005- Bar-Foo: Foo
006- Content-type: text/html; charset=UTF-8
008- array(2) {
009- ["Host"]=>
010- string(9) "localhost"
011- ["Foo-Bar"]=>
012- string(3) "Bar"
013- }
014- array(2) {
015- ["Host"]=>
016- string(9) "localhost"
017- ["Foo-Bar"]=>
018- string(3) "Bar"
019- }
020- array(3) {
021- ["X-Powered-By"]=>
022- string(%d) "P%s"
023- ["Bar-Foo"]=>
024- string(3) "Foo"
025- ["Content-type"]=>
026- string(24) "text/html; charset=UTF-8"
027- }