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

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 11 different diffs reported by users for this test.

Count Diff
6 (35%)
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 (12%)
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"
1 (6%)
001+ PHP 7.0.13 Development Server started at Wed Dec 7 01:42:04 2016
1 (6%)
001+ PHP 7.0.13 Development Server started at Wed Dec 7 01:26:09 2016
1 (6%)
001+ PHP 7.0.13 Development Server started at Tue Dec 6 14:39:15 2016
1 (6%)
001+ PHP 7.0.13 Development Server started at Thu Dec 15 05:34:11 2016
1 (6%)
001+ PHP 7.0.13 Development Server started at Sun Jan 29 12:53:52 2017
1 (6%)
001+ PHP 7.0.13 Development Server started at Fri Nov 25 17:38:51 2016
1 (6%)
001+ PHP 7.0.13 Development Server started at Fri Nov 25 16:44:04 2016
1 (6%)
001+ PHP 7.0.13 Development Server started at Fri Jan 6 22:26:24 2017
1 (6%)
001+ <br />
002+ <b>Warning</b>: Unknown: php_network_getaddresses: getaddrinfo failed: Name or service not known in <b>Unknown</b> on line <b>0</b><br />
003+
004+ Warning: fsockopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in %s/bug65633.php on line 11
001- HTTP/1.1 200 OK
002- Connection: close
003- X-Powered-By: %s
004- Content-type: text/html; charset=UTF-8
006+ Warning: fsockopen(): unable to connect to localhost:8964 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in %s/bug65633.php on line 11
007+ connect failed
006- array(1) {
007- ["foo"]=>
008- string(3) "bar"
009- }
010- string(3) "bar"