Test: /sapi/cli/tests/php_cli_server_019.phpt - Version 7.2.0-dev    

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

Count Diff
28 (62%)
001+ Server is not running
001- HTTP/1.1 200 OK
002- Host: %s
003- Date: %s
004- Connection: close
005- X-Powered-By: %s
006- Bar-Foo: Foo
007- Content-type: text/html; charset=UTF-8
008-
009- array(2) {
010- ["Host"]=>
011- string(9) "localhost"
012- ["Foo-Bar"]=>
013- string(3) "Bar"
014- }
015- array(2) {
016- ["Host"]=>
017- string(9) "localhost"
018- ["Foo-Bar"]=>
019- string(3) "Bar"
020- }
021- array(3) {
022- ["X-Powered-By"]=>
023- string(%d) "P%s"
024- ["Bar-Foo"]=>
025- string(3) "Foo"
026- ["Content-type"]=>
027- string(24) "text/html; charset=UTF-8"
028- }
9 (20%)
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- Date: %s
004- Connection: close
005- X-Powered-By: %s
006- Bar-Foo: Foo
007- Content-type: text/html; charset=UTF-8
008-
009- array(2) {
010- ["Host"]=>
011- string(9) "localhost"
012- ["Foo-Bar"]=>
013- string(3) "Bar"
014- }
015- array(2) {
016- ["Host"]=>
017- string(9) "localhost"
018- ["Foo-Bar"]=>
019- string(3) "Bar"
020- }
021- array(3) {
022- ["X-Powered-By"]=>
023- string(%d) "P%s"
024- ["Bar-Foo"]=>
025- string(3) "Foo"
026- ["Content-type"]=>
027- string(24) "text/html; charset=UTF-8"
028- }
5 (11%)
2 (4%)
001+ Notice: Undefined variable: error in /home/travis/build/php/php-src/sapi/cli/tests/php_cli_server.inc on line 48
1 (2%)
001+ Unable to connect to servers
001- HTTP/1.1 200 OK
002- Host: %s
003- Date: %s
004- Connection: close
005- X-Powered-By: %s
006- Bar-Foo: Foo
007- Content-type: text/html; charset=UTF-8
008-
009- array(2) {
010- ["Host"]=>
011- string(9) "localhost"
012- ["Foo-Bar"]=>
013- string(3) "Bar"
014- }
015- array(2) {
016- ["Host"]=>
017- string(9) "localhost"
018- ["Foo-Bar"]=>
019- string(3) "Bar"
020- }
021- array(3) {
022- ["X-Powered-By"]=>
023- string(%d) "P%s"
024- ["Bar-Foo"]=>
025- string(3) "Foo"
026- ["Content-type"]=>
027- string(24) "text/html; charset=UTF-8"
028- }