Test: /ext/standard/tests/http/bug48929.phpt - Version 5.4.8        

Bug #48929 [PATCH]?Double \r\n after HTTP headers when "header" context option is an array
Submitted: 2009-07-15 17:26:50 Modified: 2009-07-20 10:55:04
From: david.zuelke Assigned:
Status: Closed Package: Streams related
PHP Version: 5.*, 6 OS: *

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

Count Diff
109 (94%)
002+ string(0) ""
002- string(103) "POST / HTTP/1.0
003- Host: 127.0.0.1:12342
004- Content-Length: 4
005- X-Foo: bar
006- Content-Type: text/plain
007-
008- ohai"
004+ string(0) ""
010- string(103) "POST / HTTP/1.0
011- Host: 127.0.0.1:12342
012- Content-Length: 4
013- X-Foo: bar
014- Content-Type: text/plain
015-
016- ohai"
3 (3%)
2 (2%)
002+ string(17) "POST / HTTP/1.1
003+ "
002- string(103) "POST / HTTP/1.0
003- Host: 127.0.0.1:12342
004- Content-Length: 4
005- X-Foo: bar
006- Content-Type: text/plain
007-
008- ohai"
005+ string(0) ""
010- string(103) "POST / HTTP/1.0
011- Host: 127.0.0.1:12342
012- Content-Length: 4
013- X-Foo: bar
014- Content-Type: text/plain
015-
016- ohai"
1 (1%)
002+ string(139) "POST / HTTP/1.1
003+ User-Agent: PHP/5.4.8
002- string(103) "POST / HTTP/1.0
004- Content-Length: 4
005+ Accept: */*
008+ Content-Length: 4
010- string(103) "POST / HTTP/1.0
012+ string(139) "POST / HTTP/1.1
013+ User-Agent: PHP/5.4.8
012- Content-Length: 4
015+ Accept: */*
018+ Content-Length: 4
1 (1%)
002+ string(139) "POST / HTTP/1.1
003+ User-Agent: PHP/5.4.8
002- string(103) "POST / HTTP/1.0
004- Content-Length: 4
005+ Accept: */*
008+ Content-Length: 4
010- string(103) "POST / HTTP/1.0
012+ string(0) ""
011- Host: 127.0.0.1:12342
012- Content-Length: 4
013- X-Foo: bar
014- Content-Type: text/plain
015-
016- ohai"