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

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

Count Diff
2 (25%)
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- }
2 (25%)
001+ Fatal error: Uncaught RuntimeException: usleep is not suitable for use in multi threaded applications, use synchronized Threaded::wait in /usr/local/src/php-7.0.9/sapi/cli/tests/php_cli_server.inc:41
002+ Stack trace:
003+ #0 /usr/local/src/php-7.0.9/sapi/cli/tests/php_cli_server.inc(41): usleep(10000)
004+ #1 %s/php_cli_server_019.php(7): php_cli_server_start('header('Bar-Foo...')
005+ #2 {main}
006+ thrown in /usr/local/src/php-7.0.9/sapi/cli/tests/php_cli_server.inc on line 41
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 (13%)
005- Bar-Foo: Foo
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 'responder/get.php' (include_path='.:/opt/php-7.0/lib/php') in <b>Unknown</b> on line <b>0</b><br />
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 (13%)
001+ PHP 7.0.9 Development Server started at Wed Jul 27 12:38:59 2016
1 (13%)
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 (13%)