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

Bug #71005 Segfault in php_cli_server_dispatch_router()
Submitted: 2015-12-01 00:44:37 Modified: 2015-12-01 00:57:09
From: aharvey Assigned: aharvey
Status: Closed Package: Built-in web server
PHP Version: 7.0Git-2015-12-01 (Git) OS: Probably irrelevant (OSX; Linux)

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

Count Diff
2 (29%)
001+ Warning: fsockopen(): unable to connect to localhost:8964 (Connection refused) in %s/bug71005.php on line 14
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; charset=UTF-8
006-
007- goodbye
2 (29%)
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/bug71005.php(9): php_cli_server_start('set_exception_h...')
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: PHP/%s
005- Content-type: text/html; charset=UTF-8
006-
007- goodbye
1 (14%)
007+ array(0) {
007- goodbye
008+ }
1 (14%)
007+ <br />
007- goodbye
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 />
1 (14%)
001+ PHP 7.0.9 Development Server started at Wed Jul 27 12:38:58 2016