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

Bug #64878 304 responses return Content-Type header
Submitted: 2013-05-19 19:58:34 Modified: 2015-06-27 12:40:08
From: jdesrosi Assigned: cmb
Status: Closed Package: Built-in web server
PHP Version: 5.4.15 OS: Fedora 18

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

Count Diff
2 (29%)
001+ Warning: get_headers(http://localhost:8964): failed to open stream: Connection refused in %s/bug64878.php on line 4
002+
003+ Warning: array_filter() expects parameter 1 to be array, boolean given in %s/bug64878.php on line 7
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
001- 0
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/bug64878.php(3): php_cli_server_start('header("HTTP/1....', NULL)
005+ #2 {main}
006+ thrown in /usr/local/src/php-7.0.9/sapi/cli/tests/php_cli_server.inc on line 41
1 (14%)
001+ PHP 7.0.9 Development Server started at Wed Jul 27 12:38:56 2016
1 (14%)
001+ 1
001- 0
1 (14%)
001+ ** ERROR: process timed out **
001- 0