004+ ["headers"]=>
005+ array(2) {
006+ [0]=>
007+ string(15) "HTTP/1.0 200 Ok"
008+ [1]=>
009+ string(10) "X-Foo: bar"
010+ }
011+ ["readbuf"]=>
012+ resource(10) of type (stream)
004- [0]=>
005- string(15) "HTTP/1.0 200 Ok"
006- [1]=>
007- string(10) "X-Foo: bar"
010- string(48) "GET /foo/bar HTTP/1.0
014-
015- Warning: fopen(http://127.0.0.1:12342/foo/bar): failed to open stream: HTTP request failed! HTTP/1.0 404 Not found
016- in %s on line %d
017- bool(false)
018- string(48) "GET /foo/bar HTTP/1.0
015+ string(85) "GET /foo/bar HTTP/1.1
016+ User-Agent: PHP/5.4.39
018+ Accept: */*
021+ resource(12) of type (stream)
022+ array(2) {
023+ ["headers"]=>
024+ array(2) {
025+ [0]=>
026+ string(22) "HTTP/1.0 404 Not found"
027+ [1]=>
028+ string(10) "X-bar: baz"
029+ }
030+ ["readbuf"]=>
031+ resource(13) of type (stream)
032+ }
033+ string(1) "2"
034+ string(85) "GET /foo/bar HTTP/1.1
035+ User-Agent: PHP/5.4.39
025- [0]=>
026- string(15) "HTTP/1.0 200 Ok"
027- [1]=>
028- string(10) "X-Foo: bar"
031- string(48) "GET /foo/bar HTTP/1.0
037+ Accept: */*
037- [0]=>
038- string(22) "HTTP/1.0 404 Not found"
039- [1]=>
040- string(10) "X-bar: baz"
043+ ["headers"]=>
044+ array(2) {
045+ [0]=>
046+ string(15) "HTTP/1.0 200 Ok"
047+ [1]=>
048+ string(10) "X-Foo: bar"
049+ }
050+ ["readbuf"]=>
051+ resource(19) of type (stream)
043- string(48) "GET /foo/bar HTTP/1.0
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
054+ string(85) "GET /foo/bar HTTP/1.1
055+ User-Agent: PHP/5.4.39
056- string(48) "GET /foo/bar HTTP/1.0
057+ Accept: */*
062+ ["headers"]=>
063+ array(2) {
064+ [0]=>
065+ string(22) "HTTP/1.0 404 Not found"
066+ [1]=>
067+ string(10) "X-bar: baz"
068+ }
069+ ["readbuf"]=>
070+ resource(22) of type (stream)
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
068- string(48) "GET /foo/bar HTTP/1.0
073+ string(85) "GET /foo/bar HTTP/1.1
074+ User-Agent: PHP/5.4.39
076+ Accept: */*
082+ ["headers"]=>
083+ array(2) {
084+ [0]=>
085+ string(15) "HTTP/1.0 200 Ok"
086+ [1]=>
087+ string(10) "X-Foo: bar"
088+ }
089+ ["readbuf"]=>
090+ resource(28) of type (stream)
093+ string(85) "GET /foo/bar HTTP/1.1
094+ User-Agent: PHP/5.4.39
096+ Accept: */*
101+ ["headers"]=>
102+ array(2) {
103+ [0]=>
104+ string(22) "HTTP/1.0 404 Not found"
105+ [1]=>
106+ string(10) "X-bar: baz"
107+ }
108+ ["readbuf"]=>
109+ resource(31) of type (stream)
112+ string(85) "GET /foo/bar HTTP/1.1
113+ User-Agent: PHP/5.4.39
115+ Accept: */*