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

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

Count Diff
2 (33%)
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- }
1 (17%)
001+ PHP 5.6.7 Development Server started at Wed Mar 25 12:47:36 2015
002+ Listening on http://localhost:8964
003+ Document root is /usr/local/src/php-5.6.7/sapi/cli/tests
004+ Press Ctrl-C to quit.
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 (Connection refused) 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- }
1 (17%)
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- }
1 (17%)
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: %s
005- Bar-Foo: Foo
006- Content-type: text/html; charset=UTF-8
004+ ** ERROR: process timed out **
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 (17%)
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- }