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

Bug #65633 built-in server treat some http headers as case-sensitive
Submitted: 2013-09-08 13:43:56 Modified: 2013-09-09 23:42:08
From: francesco.laffi Assigned: aharvey
Status: Closed Package: Built-in web server
PHP Version: 5.5Git-2013-09-08 (snap) OS:

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/bug65633.php on line 11
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- array(1) {
007- ["foo"]=>
008- string(3) "bar"
009- }
010- string(3) "bar"
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/bug65633.php(4): php_cli_server_start('var_dump($_COOK...')
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- array(1) {
007- ["foo"]=>
008- string(3) "bar"
009- }
010- string(3) "bar"
1 (13%)
006+ array(0) {
006- array(1) {
007- ["foo"]=>
008- string(3) "bar"
010- string(3) "bar"
1 (13%)
006+ <br />
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 />
006- array(1) {
007- ["foo"]=>
008- string(3) "bar"
009- }
010- string(3) "bar"
1 (13%)
001+ PHP 7.0.9 Development Server started at Wed Jul 27 12:38:56 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- array(1) {
007- ["foo"]=>
008- string(3) "bar"
009- }
010- string(3) "bar"