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

Bug #68745 Invalid HTTP requests make web server segfault
Submitted: 2015-01-05 00:12:20 Modified: 2015-01-06 01:31:05
From: benjamin.morel Assigned: aharvey
Status: Closed Package: Built-in web server
PHP Version: 5.6.4 OS: Fedora 21

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/bug68745.php on line 8
002+ connect failed
001- HTTP/1.1 200 OK
002- Connection: close
003- X-Powered-By: %s
004- Content-type: text/html; charset=UTF-8
005-
006- int(%d)
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/bug68745.php(3): php_cli_server_start('var_dump(count(...', 'not-index.php')
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- Connection: close
003- X-Powered-By: %s
004- Content-type: text/html; charset=UTF-8
005-
006- int(%d)
1 (13%)
006+ array(0) {
006- int(%d)
007+ }
1 (13%)
006+ <br />
006- int(%d)
007+ <b>Warning</b>: Unknown: failed to open stream: No such file or directory in <b>Unknown</b> on line <b>0</b><br />
008+ <br />
009+ <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 (13%)
001+ PHP 7.0.9 Development Server started at Wed Jul 27 12:38:57 2016
1 (13%)
001+ ** ERROR: process timed out **
001- HTTP/1.1 200 OK
002- Connection: close
003- X-Powered-By: %s
004- Content-type: text/html; charset=UTF-8
005-
006- int(%d)