Test: /ext/standard/tests/http/ignore_errors.phpt - Version 5.4.0    

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

Count Diff
168 (92%)
004+ ["headers"]=>
005+ array(0) {
006+ }
007+ ["readbuf"]=>
008+ 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
011+ string(84) "GET /foo/bar HTTP/1.1
012+ User-Agent: PHP/5.4.0
014+ Accept: */*
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
017+ resource(12) of type (stream)
018+ array(2) {
019+ ["headers"]=>
020+ array(0) {
021+ }
022+ ["readbuf"]=>
023+ resource(13) of type (stream)
024+ }
025+ string(1) "2"
026+ string(84) "GET /foo/bar HTTP/1.1
027+ User-Agent: PHP/5.4.0
025- [0]=>
026- string(15) "HTTP/1.0 200 Ok"
027- [1]=>
028- string(10) "X-Foo: bar"
029+ Accept: */*
031- string(48) "GET /foo/bar HTTP/1.0
035+ ["headers"]=>
036+ array(0) {
037+ }
038+ ["readbuf"]=>
039+ resource(19) of type (stream)
037- [0]=>
038- string(22) "HTTP/1.0 404 Not found"
039- [1]=>
040- string(10) "X-bar: baz"
042+ string(84) "GET /foo/bar HTTP/1.1
043+ User-Agent: PHP/5.4.0
043- string(48) "GET /foo/bar HTTP/1.0
045+ Accept: */*
050+ ["headers"]=>
051+ array(0) {
052+ }
053+ ["readbuf"]=>
054+ resource(22) of type (stream)
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
056- string(48) "GET /foo/bar HTTP/1.0
057+ string(84) "GET /foo/bar HTTP/1.1
058+ User-Agent: PHP/5.4.0
060+ Accept: */*
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
066+ ["headers"]=>
067+ array(0) {
068+ }
069+ ["readbuf"]=>
070+ resource(28) of type (stream)
068- string(48) "GET /foo/bar HTTP/1.0
073+ string(84) "GET /foo/bar HTTP/1.1
074+ User-Agent: PHP/5.4.0
076+ Accept: */*
081+ ["headers"]=>
082+ array(0) {
083+ }
084+ ["readbuf"]=>
085+ resource(31) of type (stream)
088+ string(84) "GET /foo/bar HTTP/1.1
089+ User-Agent: PHP/5.4.0
091+ Accept: */*
1 (1%)
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(84) "GET /foo/bar HTTP/1.1
016+ User-Agent: PHP/5.4.0
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(84) "GET /foo/bar HTTP/1.1
035+ User-Agent: PHP/5.4.0
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(84) "GET /foo/bar HTTP/1.1
055+ User-Agent: PHP/5.4.0
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(84) "GET /foo/bar HTTP/1.1
074+ User-Agent: PHP/5.4.0
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(84) "GET /foo/bar HTTP/1.1
094+ User-Agent: PHP/5.4.0
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(84) "GET /foo/bar HTTP/1.1
113+ User-Agent: PHP/5.4.0
115+ Accept: */*
1 (1%)
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(84) "GET /foo/bar HTTP/1.1
016+ User-Agent: PHP/5.4.0
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(84) "GET /foo/bar HTTP/1.1
035+ User-Agent: PHP/5.4.0
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(0) {
045+ }
046+ ["readbuf"]=>
047+ resource(19) of type (stream)
043- string(48) "GET /foo/bar HTTP/1.0
050+ string(84) "GET /foo/bar HTTP/1.1
051+ User-Agent: PHP/5.4.0
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
053+ Accept: */*
056- string(48) "GET /foo/bar HTTP/1.0
058+ ["headers"]=>
059+ array(0) {
060+ }
061+ ["readbuf"]=>
062+ resource(22) of type (stream)
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
065+ string(84) "GET /foo/bar HTTP/1.1
066+ User-Agent: PHP/5.4.0
068+ Accept: */*
068- string(48) "GET /foo/bar HTTP/1.0
074+ ["headers"]=>
075+ array(0) {
076+ }
077+ ["readbuf"]=>
078+ resource(28) of type (stream)
081+ string(84) "GET /foo/bar HTTP/1.1
082+ User-Agent: PHP/5.4.0
084+ Accept: */*
089+ ["headers"]=>
090+ array(2) {
091+ [0]=>
092+ string(22) "HTTP/1.0 404 Not found"
093+ [1]=>
094+ string(10) "X-bar: baz"
095+ }
096+ ["readbuf"]=>
097+ resource(31) of type (stream)
100+ string(84) "GET /foo/bar HTTP/1.1
101+ User-Agent: PHP/5.4.0
103+ Accept: */*
1 (1%)
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(84) "GET /foo/bar HTTP/1.1
016+ User-Agent: PHP/5.4.0
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(84) "GET /foo/bar HTTP/1.1
035+ User-Agent: PHP/5.4.0
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(0) {
045+ }
046+ ["readbuf"]=>
047+ resource(19) of type (stream)
043- string(48) "GET /foo/bar HTTP/1.0
050+ string(84) "GET /foo/bar HTTP/1.1
051+ User-Agent: PHP/5.4.0
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
053+ Accept: */*
056- string(48) "GET /foo/bar HTTP/1.0
058+ ["headers"]=>
059+ array(0) {
060+ }
061+ ["readbuf"]=>
062+ resource(22) of type (stream)
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
065+ string(84) "GET /foo/bar HTTP/1.1
066+ User-Agent: PHP/5.4.0
068+ Accept: */*
068- string(48) "GET /foo/bar HTTP/1.0
074+ ["headers"]=>
075+ array(0) {
076+ }
077+ ["readbuf"]=>
078+ resource(28) of type (stream)
081+ string(84) "GET /foo/bar HTTP/1.1
082+ User-Agent: PHP/5.4.0
084+ Accept: */*
089+ ["headers"]=>
090+ array(0) {
091+ }
092+ ["readbuf"]=>
093+ resource(31) of type (stream)
096+ string(84) "GET /foo/bar HTTP/1.1
097+ User-Agent: PHP/5.4.0
099+ Accept: */*
1 (1%)
004+ ["headers"]=>
005+ array(0) {
006+ }
007+ ["readbuf"]=>
008+ 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
011+ string(84) "GET /foo/bar HTTP/1.1
013+ User-Agent: PHP/5.4.0
014+ Accept: */*
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
017+ resource(12) of type (stream)
018+ array(2) {
019+ ["headers"]=>
020+ array(0) {
021+ }
022+ ["readbuf"]=>
023+ resource(13) of type (stream)
024+ }
025+ string(1) "2"
026+ string(84) "GET /foo/bar HTTP/1.1
025- [0]=>
026- string(15) "HTTP/1.0 200 Ok"
027- [1]=>
028- string(10) "X-Foo: bar"
028+ User-Agent: PHP/5.4.0
029+ Accept: */*
031- string(48) "GET /foo/bar HTTP/1.0
035+ ["headers"]=>
036+ array(0) {
037+ }
038+ ["readbuf"]=>
039+ resource(19) of type (stream)
037- [0]=>
038- string(22) "HTTP/1.0 404 Not found"
039- [1]=>
040- string(10) "X-bar: baz"
042+ string(84) "GET /foo/bar HTTP/1.1
043- string(48) "GET /foo/bar HTTP/1.0
044+ User-Agent: PHP/5.4.0
045+ Accept: */*
050+ ["headers"]=>
051+ array(0) {
052+ }
053+ ["readbuf"]=>
054+ resource(22) of type (stream)
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
056- string(48) "GET /foo/bar HTTP/1.0
057+ string(84) "GET /foo/bar HTTP/1.1
059+ User-Agent: PHP/5.4.0
060+ Accept: */*
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
066+ ["headers"]=>
067+ array(0) {
068+ }
069+ ["readbuf"]=>
070+ resource(28) of type (stream)
068- string(48) "GET /foo/bar HTTP/1.0
073+ string(84) "GET /foo/bar HTTP/1.1
075+ User-Agent: PHP/5.4.0
076+ Accept: */*
081+ ["headers"]=>
082+ array(0) {
083+ }
084+ ["readbuf"]=>
085+ resource(31) of type (stream)
088+ string(84) "GET /foo/bar HTTP/1.1
090+ User-Agent: PHP/5.4.0
091+ Accept: */*
1 (1%)
004+ ["headers"]=>
005+ array(0) {
006+ }
007+ ["readbuf"]=>
008+ 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
011+ string(84) "GET /foo/bar HTTP/1.1
012+ User-Agent: PHP/5.4.0
014+ Accept: */*
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
017+ resource(12) of type (stream)
018+ array(2) {
019+ ["headers"]=>
020+ array(2) {
021+ [0]=>
022+ string(22) "HTTP/1.0 404 Not found"
023+ [1]=>
024+ string(10) "X-bar: baz"
025+ }
026+ ["readbuf"]=>
027+ resource(13) of type (stream)
028+ }
029+ string(1) "2"
030+ string(84) "GET /foo/bar HTTP/1.1
031+ User-Agent: PHP/5.4.0
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
033+ Accept: */*
037- [0]=>
038- string(22) "HTTP/1.0 404 Not found"
039- [1]=>
040- string(10) "X-bar: baz"
039+ ["headers"]=>
040+ array(0) {
041+ }
042+ ["readbuf"]=>
043+ resource(19) of type (stream)
043- string(48) "GET /foo/bar HTTP/1.0
046+ string(84) "GET /foo/bar HTTP/1.1
047+ User-Agent: PHP/5.4.0
049+ Accept: */*
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
054+ ["headers"]=>
055+ array(2) {
056+ [0]=>
057+ string(22) "HTTP/1.0 404 Not found"
058+ [1]=>
059+ string(10) "X-bar: baz"
060+ }
061+ ["readbuf"]=>
062+ resource(22) of type (stream)
056- string(48) "GET /foo/bar HTTP/1.0
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
065+ string(84) "GET /foo/bar HTTP/1.1
066+ User-Agent: PHP/5.4.0
068+ Accept: */*
068- string(48) "GET /foo/bar HTTP/1.0
074+ ["headers"]=>
075+ array(0) {
076+ }
077+ ["readbuf"]=>
078+ resource(28) of type (stream)
081+ string(84) "GET /foo/bar HTTP/1.1
082+ User-Agent: PHP/5.4.0
084+ Accept: */*
089+ ["headers"]=>
090+ array(2) {
091+ [0]=>
092+ string(22) "HTTP/1.0 404 Not found"
093+ [1]=>
094+ string(10) "X-bar: baz"
095+ }
096+ ["readbuf"]=>
097+ resource(31) of type (stream)
100+ string(84) "GET /foo/bar HTTP/1.1
101+ User-Agent: PHP/5.4.0
103+ Accept: */*
1 (1%)
004+ ["headers"]=>
005+ array(0) {
006+ }
007+ ["readbuf"]=>
008+ 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
011+ string(84) "GET /foo/bar HTTP/1.1
012+ User-Agent: PHP/5.4.0
014+ Accept: */*
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
017+ resource(12) of type (stream)
018+ array(2) {
019+ ["headers"]=>
020+ array(2) {
021+ [0]=>
022+ string(22) "HTTP/1.0 404 Not found"
023+ [1]=>
024+ string(10) "X-bar: baz"
025+ }
026+ ["readbuf"]=>
027+ resource(13) of type (stream)
028+ }
029+ string(1) "2"
030+ string(84) "GET /foo/bar HTTP/1.1
031+ User-Agent: PHP/5.4.0
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
033+ Accept: */*
037- [0]=>
038- string(22) "HTTP/1.0 404 Not found"
039- [1]=>
040- string(10) "X-bar: baz"
039+ ["headers"]=>
040+ array(0) {
041+ }
042+ ["readbuf"]=>
043+ resource(19) of type (stream)
043- string(48) "GET /foo/bar HTTP/1.0
046+ string(84) "GET /foo/bar HTTP/1.1
047+ User-Agent: PHP/5.4.0
049+ Accept: */*
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
054+ ["headers"]=>
055+ array(0) {
056+ }
057+ ["readbuf"]=>
058+ resource(22) of type (stream)
056- string(48) "GET /foo/bar HTTP/1.0
061+ string(84) "GET /foo/bar HTTP/1.1
062+ User-Agent: PHP/5.4.0
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
064+ Accept: */*
068- string(48) "GET /foo/bar HTTP/1.0
070+ ["headers"]=>
071+ array(2) {
072+ [0]=>
073+ string(15) "HTTP/1.0 200 Ok"
074+ [1]=>
075+ string(10) "X-Foo: bar"
076+ }
077+ ["readbuf"]=>
078+ resource(28) of type (stream)
081+ string(84) "GET /foo/bar HTTP/1.1
082+ User-Agent: PHP/5.4.0
084+ Accept: */*
089+ ["headers"]=>
090+ array(0) {
091+ }
092+ ["readbuf"]=>
093+ resource(31) of type (stream)
096+ string(84) "GET /foo/bar HTTP/1.1
097+ User-Agent: PHP/5.4.0
099+ Accept: */*
1 (1%)
004+ ["headers"]=>
005+ array(0) {
006+ }
007+ ["readbuf"]=>
008+ 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
011+ string(84) "GET /foo/bar HTTP/1.1
012+ User-Agent: PHP/5.4.0
014+ Accept: */*
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
017+ resource(12) of type (stream)
018+ array(2) {
019+ ["headers"]=>
020+ array(2) {
021+ [0]=>
022+ string(22) "HTTP/1.0 404 Not found"
023+ [1]=>
024+ string(10) "X-bar: baz"
025+ }
026+ ["readbuf"]=>
027+ resource(13) of type (stream)
028+ }
029+ string(1) "2"
030+ string(84) "GET /foo/bar HTTP/1.1
031+ User-Agent: PHP/5.4.0
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
033+ Accept: */*
037- [0]=>
038- string(22) "HTTP/1.0 404 Not found"
039- [1]=>
040- string(10) "X-bar: baz"
039+ ["headers"]=>
040+ array(0) {
041+ }
042+ ["readbuf"]=>
043+ resource(19) of type (stream)
043- string(48) "GET /foo/bar HTTP/1.0
046+ string(84) "GET /foo/bar HTTP/1.1
047+ User-Agent: PHP/5.4.0
049+ Accept: */*
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
054+ ["headers"]=>
055+ array(0) {
056+ }
057+ ["readbuf"]=>
058+ resource(22) of type (stream)
056- string(48) "GET /foo/bar HTTP/1.0
061+ string(84) "GET /foo/bar HTTP/1.1
062+ User-Agent: PHP/5.4.0
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
064+ Accept: */*
068- string(48) "GET /foo/bar HTTP/1.0
070+ ["headers"]=>
071+ array(0) {
072+ }
073+ ["readbuf"]=>
074+ resource(28) of type (stream)
077+ string(84) "GET /foo/bar HTTP/1.1
078+ User-Agent: PHP/5.4.0
080+ Accept: */*
085+ ["headers"]=>
086+ array(0) {
087+ }
088+ ["readbuf"]=>
089+ resource(31) of type (stream)
092+ string(84) "GET /foo/bar HTTP/1.1
093+ User-Agent: PHP/5.4.0
095+ Accept: */*
1 (1%)
004+ ["headers"]=>
005+ array(0) {
006+ }
007+ ["readbuf"]=>
008+ 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
011+ string(84) "GET /foo/bar HTTP/1.1
012+ User-Agent: PHP/5.4.0
014+ Accept: */*
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
017+ resource(12) of type (stream)
018+ array(2) {
019+ ["headers"]=>
020+ array(0) {
021+ }
022+ ["readbuf"]=>
023+ resource(13) of type (stream)
024+ }
025+ string(1) "2"
026+ string(84) "GET /foo/bar HTTP/1.1
027+ User-Agent: PHP/5.4.0
025- [0]=>
026- string(15) "HTTP/1.0 200 Ok"
027- [1]=>
028- string(10) "X-Foo: bar"
029+ Accept: */*
031- string(48) "GET /foo/bar HTTP/1.0
035+ ["headers"]=>
036+ array(0) {
037+ }
038+ ["readbuf"]=>
039+ resource(19) of type (stream)
037- [0]=>
038- string(22) "HTTP/1.0 404 Not found"
039- [1]=>
040- string(10) "X-bar: baz"
042+ string(84) "GET /foo/bar HTTP/1.1
043+ User-Agent: PHP/5.4.0
043- string(48) "GET /foo/bar HTTP/1.0
045+ Accept: */*
050+ ["headers"]=>
051+ array(2) {
052+ [0]=>
053+ string(22) "HTTP/1.0 404 Not found"
054+ [1]=>
055+ string(10) "X-bar: baz"
056+ }
057+ ["readbuf"]=>
058+ resource(22) of type (stream)
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
056- string(48) "GET /foo/bar HTTP/1.0
061+ string(84) "GET /foo/bar HTTP/1.1
062+ User-Agent: PHP/5.4.0
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
064+ Accept: */*
068- string(48) "GET /foo/bar HTTP/1.0
070+ ["headers"]=>
071+ array(0) {
072+ }
073+ ["readbuf"]=>
074+ resource(28) of type (stream)
077+ string(84) "GET /foo/bar HTTP/1.1
078+ User-Agent: PHP/5.4.0
080+ Accept: */*
085+ ["headers"]=>
086+ array(0) {
087+ }
088+ ["readbuf"]=>
089+ resource(31) of type (stream)
092+ string(84) "GET /foo/bar HTTP/1.1
093+ User-Agent: PHP/5.4.0
095+ Accept: */*
1 (1%)
004+ ["headers"]=>
005+ array(0) {
006+ }
007+ ["readbuf"]=>
008+ 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
011+ string(84) "GET /foo/bar HTTP/1.1
012+ User-Agent: PHP/5.4.0
014+ Accept: */*
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
017+ resource(12) of type (stream)
018+ array(2) {
019+ ["headers"]=>
020+ array(0) {
021+ }
022+ ["readbuf"]=>
023+ resource(13) of type (stream)
024+ }
025+ string(1) "2"
026+ string(84) "GET /foo/bar HTTP/1.1
027+ User-Agent: PHP/5.4.0
025- [0]=>
026- string(15) "HTTP/1.0 200 Ok"
027- [1]=>
028- string(10) "X-Foo: bar"
029+ Accept: */*
031- string(48) "GET /foo/bar HTTP/1.0
035+ ["headers"]=>
036+ array(0) {
037+ }
038+ ["readbuf"]=>
039+ resource(19) of type (stream)
037- [0]=>
038- string(22) "HTTP/1.0 404 Not found"
039- [1]=>
040- string(10) "X-bar: baz"
042+ string(84) "GET /foo/bar HTTP/1.1
043+ User-Agent: PHP/5.4.0
043- string(48) "GET /foo/bar HTTP/1.0
045+ Accept: */*
050+ ["headers"]=>
051+ array(0) {
052+ }
053+ ["readbuf"]=>
054+ resource(22) of type (stream)
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
056- string(48) "GET /foo/bar HTTP/1.0
057+ string(84) "GET /foo/bar HTTP/1.1
058+ User-Agent: PHP/5.4.0
060+ Accept: */*
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
066+ ["headers"]=>
067+ array(0) {
068+ }
069+ ["readbuf"]=>
070+ resource(28) of type (stream)
068- string(48) "GET /foo/bar HTTP/1.0
073+ string(84) "GET /foo/bar HTTP/1.1
074+ User-Agent: PHP/5.4.0
076+ Accept: */*
081+ ["headers"]=>
082+ array(0) {
083+ }
084+ ["readbuf"]=>
085+ resource(31) of type (stream)
088+ string(84) "GET /foo/bar HTTP/1.1
089+ User-Agent: PHP/5.4.0
091+ Accept: */* 026680: 1335433909 0.80493900 < 1335433909 0.80494000 064149: 1335433909 0.94282200 < 1335433909 0.94282300 001+ Passed: 99998
002+ Failed: 2
001- Passed: 100000
002- Failed: 0
003+ 026680: 1335433909 0.80493900 < 1335433909 0.80494000
004+ 064149: 1335433909 0.94282200 < 1335433909 0.94282300
1 (1%)
004+ ["headers"]=>
005+ array(0) {
006+ }
007+ ["readbuf"]=>
008+ 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
011+ string(84) "GET /foo/bar HTTP/1.1
012+ User-Agent: PHP/5.4.0
014+ Accept: */*
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
017+ resource(12) of type (stream)
018+ array(2) {
019+ ["headers"]=>
020+ array(0) {
021+ }
022+ ["readbuf"]=>
023+ resource(13) of type (stream)
024+ }
025+ string(1) "2"
026+ string(84) "GET /foo/bar HTTP/1.1
027+ User-Agent: PHP/5.4.0
025- [0]=>
026- string(15) "HTTP/1.0 200 Ok"
027- [1]=>
028- string(10) "X-Foo: bar"
029+ Accept: */*
030- string(1) "1"
031- string(48) "GET /foo/bar HTTP/1.0
032- Host: 127.0.0.1:12342
033-
034- "
035+ ["headers"]=>
036+ array(0) {
037+ }
038+ ["readbuf"]=>
039+ resource(19) of type (stream)
037- [0]=>
038- string(22) "HTTP/1.0 404 Not found"
039- [1]=>
040- string(10) "X-bar: baz"
041+ string(0) ""
042+ string(0) ""
042- string(1) "2"
043- string(48) "GET /foo/bar HTTP/1.0
045+ ["headers"]=>
046+ array(0) {
047+ }
048+ ["readbuf"]=>
049+ resource(22) of type (stream)
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
051+ string(1) "1"
052+ string(84) "GET /foo/bar HTTP/1.1
053+ User-Agent: PHP/5.4.0
055+ Accept: */*
055- string(1) "1"
056- string(48) "GET /foo/bar HTTP/1.0
057- Host: 127.0.0.1:12342
058-
059- "
061+ ["headers"]=>
062+ array(0) {
063+ }
064+ ["readbuf"]=>
065+ resource(28) of type (stream)
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
067+ string(0) ""
068+ string(0) ""
067- string(1) "2"
068- string(48) "GET /foo/bar HTTP/1.0
071+ ["headers"]=>
072+ array(0) {
073+ }
074+ ["readbuf"]=>
075+ resource(31) of type (stream)
077+ string(1) "1"
078+ string(84) "GET /foo/bar HTTP/1.1
079+ User-Agent: PHP/5.4.0
081+ Accept: */*
1 (1%)
004+ ["headers"]=>
005+ array(0) {
006+ }
007+ ["readbuf"]=>
008+ 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
011+ string(80) "GET /foo/bar HTTP/1.1
012+ User-Agent: [PHP]
014+ Accept: */*
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
017+ resource(12) of type (stream)
018+ array(2) {
019+ ["headers"]=>
020+ array(0) {
021+ }
022+ ["readbuf"]=>
023+ resource(13) of type (stream)
024+ }
025+ string(1) "2"
026+ string(80) "GET /foo/bar HTTP/1.1
027+ User-Agent: [PHP]
025- [0]=>
026- string(15) "HTTP/1.0 200 Ok"
027- [1]=>
028- string(10) "X-Foo: bar"
029+ Accept: */*
031- string(48) "GET /foo/bar HTTP/1.0
035+ ["headers"]=>
036+ array(0) {
037+ }
038+ ["readbuf"]=>
039+ resource(19) of type (stream)
037- [0]=>
038- string(22) "HTTP/1.0 404 Not found"
039- [1]=>
040- string(10) "X-bar: baz"
042+ string(80) "GET /foo/bar HTTP/1.1
043+ User-Agent: [PHP]
043- string(48) "GET /foo/bar HTTP/1.0
045+ Accept: */*
050+ ["headers"]=>
051+ array(0) {
052+ }
053+ ["readbuf"]=>
054+ resource(22) of type (stream)
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
056- string(48) "GET /foo/bar HTTP/1.0
057+ string(80) "GET /foo/bar HTTP/1.1
058+ User-Agent: [PHP]
060+ Accept: */*
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
066+ ["headers"]=>
067+ array(0) {
068+ }
069+ ["readbuf"]=>
070+ resource(28) of type (stream)
068- string(48) "GET /foo/bar HTTP/1.0
073+ string(80) "GET /foo/bar HTTP/1.1
074+ User-Agent: [PHP]
076+ Accept: */*
081+ ["headers"]=>
082+ array(0) {
083+ }
084+ ["readbuf"]=>
085+ resource(31) of type (stream)
088+ string(80) "GET /foo/bar HTTP/1.1
089+ User-Agent: [PHP]
091+ Accept: */*
1 (1%)
004+ ["headers"]=>
005+ array(0) {
006+ }
007+ ["readbuf"]=>
008+ 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
011+ string(102) "GET /foo/bar HTTP/1.1
012+ User-Agent: PHP/5.4.0
014+ Pragma: no-cache
015+ Accept: */*
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
018+ resource(12) of type (stream)
019+ array(2) {
020+ ["headers"]=>
021+ array(0) {
022+ }
023+ ["readbuf"]=>
024+ resource(13) of type (stream)
025+ }
026+ string(1) "2"
027+ string(102) "GET /foo/bar HTTP/1.1
028+ User-Agent: PHP/5.4.0
025- [0]=>
026- string(15) "HTTP/1.0 200 Ok"
027- [1]=>
028- string(10) "X-Foo: bar"
030+ Pragma: no-cache
031+ Accept: */*
031- string(48) "GET /foo/bar HTTP/1.0
037+ ["headers"]=>
038+ array(0) {
039+ }
040+ ["readbuf"]=>
041+ resource(19) of type (stream)
037- [0]=>
038- string(22) "HTTP/1.0 404 Not found"
039- [1]=>
040- string(10) "X-bar: baz"
043- string(48) "GET /foo/bar HTTP/1.0
044+ string(102) "GET /foo/bar HTTP/1.1
045+ User-Agent: PHP/5.4.0
047+ Pragma: no-cache
048+ Accept: */*
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
053+ ["headers"]=>
054+ array(0) {
055+ }
056+ ["readbuf"]=>
057+ resource(22) of type (stream)
056- string(48) "GET /foo/bar HTTP/1.0
060+ string(102) "GET /foo/bar HTTP/1.1
061+ User-Agent: PHP/5.4.0
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
063+ Pragma: no-cache
064+ Accept: */*
068- string(48) "GET /foo/bar HTTP/1.0
070+ ["headers"]=>
071+ array(0) {
072+ }
073+ ["readbuf"]=>
074+ resource(28) of type (stream)
077+ string(102) "GET /foo/bar HTTP/1.1
078+ User-Agent: PHP/5.4.0
080+ Pragma: no-cache
081+ Accept: */*
086+ ["headers"]=>
087+ array(0) {
088+ }
089+ ["readbuf"]=>
090+ resource(31) of type (stream)
093+ string(102) "GET /foo/bar HTTP/1.1
094+ User-Agent: PHP/5.4.0
096+ Pragma: no-cache
097+ Accept: */*
1 (1%)
004+ ["headers"]=>
005+ array(0) {
006+ }
007+ ["readbuf"]=>
008+ 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(0) ""
011+ string(0) ""
012+ resource(12) of type (stream)
013+ array(2) {
014+ ["headers"]=>
015+ array(0) {
016+ }
017+ ["readbuf"]=>
018+ resource(13) of type (stream)
019+ }
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
021+ string(84) "GET /foo/bar HTTP/1.1
022+ User-Agent: PHP/5.4.0
022- -- Test: requests with ignore_errors --
024+ Accept: */*
025- [0]=>
026- string(15) "HTTP/1.0 200 Ok"
027- [1]=>
028- string(10) "X-Foo: bar"
027+ -- Test: requests with ignore_errors --
028+ resource(18) of type (stream)
029+ array(2) {
030+ ["headers"]=>
031+ array(0) {
032+ }
033+ ["readbuf"]=>
034+ resource(19) of type (stream)
035+ }
036+ string(1) "1"
037+ string(84) "GET /foo/bar HTTP/1.1
038+ User-Agent: PHP/5.4.0
030- string(1) "1"
031- string(48) "GET /foo/bar HTTP/1.0
037- [0]=>
038- string(22) "HTTP/1.0 404 Not found"
039- [1]=>
040- string(10) "X-bar: baz"
040+ Accept: */*
042- string(1) "2"
043- string(48) "GET /foo/bar HTTP/1.0
045+ ["headers"]=>
046+ array(0) {
047+ }
048+ ["readbuf"]=>
049+ resource(22) of type (stream)
047- -- Test: requests with ignore_errors (2) --
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
051+ string(1) "2"
052+ string(84) "GET /foo/bar HTTP/1.1
053+ User-Agent: PHP/5.4.0
055+ Accept: */*
055- string(1) "1"
056- string(48) "GET /foo/bar HTTP/1.0
058+ -- Test: requests with ignore_errors (2) --
061+ ["headers"]=>
062+ array(0) {
063+ }
064+ ["readbuf"]=>
065+ resource(28) of type (stream)
067+ string(1) "1"
068+ string(84) "GET /foo/bar HTTP/1.1
069+ User-Agent: PHP/5.4.0
071+ Accept: */*
076+ ["headers"]=>
077+ array(0) {
078+ }
079+ ["readbuf"]=>
080+ resource(31) of type (stream)
082+ string(1) "2"
083+ string(84) "GET /foo/bar HTTP/1.1
084+ User-Agent: PHP/5.4.0
086+ Accept: */*
060- resource(%d) of type (stream)
061- array(2) {
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
066- }
067- string(1) "2"
068- string(48) "GET /foo/bar HTTP/1.0
069- Host: 127.0.0.1:12342
070-
071- "
1 (1%)
004+ ["headers"]=>
005+ array(0) {
006+ }
007+ ["readbuf"]=>
008+ 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(0) ""
011+ string(0) ""
012+ resource(12) of type (stream)
013+ array(2) {
014+ ["headers"]=>
015+ array(0) {
016+ }
017+ ["readbuf"]=>
018+ resource(13) of type (stream)
019+ }
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
019- Host: 127.0.0.1:12342
020-
021- "
022- -- Test: requests with ignore_errors --
021+ string(84) "GET /foo/bar HTTP/1.1
022+ User-Agent: PHP/5.4.0
024+ Accept: */*
025- [0]=>
026- string(15) "HTTP/1.0 200 Ok"
027- [1]=>
028- string(10) "X-Foo: bar"
027+ -- Test: requests with ignore_errors --
028+ resource(18) of type (stream)
029+ array(2) {
030+ ["headers"]=>
031+ array(0) {
032+ }
033+ ["readbuf"]=>
034+ resource(19) of type (stream)
035+ }
036+ string(0) ""
037+ string(0) ""
031- string(48) "GET /foo/bar HTTP/1.0
037- [0]=>
038- string(22) "HTTP/1.0 404 Not found"
039- [1]=>
040- string(10) "X-bar: baz"
040+ ["headers"]=>
041+ array(0) {
042+ }
043+ ["readbuf"]=>
044+ resource(22) of type (stream)
042- string(1) "2"
043- string(48) "GET /foo/bar HTTP/1.0
044- Host: 127.0.0.1:12342
045-
046- "
047- -- Test: requests with ignore_errors (2) --
047+ string(84) "GET /foo/bar HTTP/1.1
048+ User-Agent: PHP/5.4.0
050+ Accept: */*
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
053+ -- Test: requests with ignore_errors (2) --
055- string(1) "1"
056- string(48) "GET /foo/bar HTTP/1.0
056+ ["headers"]=>
057+ array(0) {
058+ }
059+ ["readbuf"]=>
060+ resource(28) of type (stream)
062+ string(0) ""
063+ string(0) ""
066+ ["headers"]=>
067+ array(0) {
068+ }
069+ ["readbuf"]=>
070+ resource(31) of type (stream)
072+ string(0) ""
073+ string(0) ""
057- Host: 127.0.0.1:12342
058-
059- "
060- resource(%d) of type (stream)
061- array(2) {
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
066- }
067- string(1) "2"
068- string(48) "GET /foo/bar HTTP/1.0
069- Host: 127.0.0.1:12342
070-
071- "
1 (1%)
004+ ["headers"]=>
005+ array(0) {
006+ }
007+ ["readbuf"]=>
008+ resource(10) of type (stream)
004- [0]=>
005- string(15) "HTTP/1.0 200 Ok"
006- [1]=>
007- string(10) "X-Foo: bar"
009- string(1) "1"
010- string(48) "GET /foo/bar HTTP/1.0
011- Host: 127.0.0.1:12342
012-
013- "
010+ string(0) ""
011+ string(0) ""
012+ resource(12) of type (stream)
013+ array(2) {
014+ ["headers"]=>
015+ array(0) {
016+ }
017+ ["readbuf"]=>
018+ resource(13) of type (stream)
019+ }
020+ string(1) "2"
021+ string(168) "GET /foo/bar HTTP/1.1
022+ User-Agent: PHP/5.4.0
023+ Host: 127.0.0.1:12342
024+ Accept: */*
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
025- [0]=>
026- string(15) "HTTP/1.0 200 Ok"
027- [1]=>
028- string(10) "X-Foo: bar"
026+ GET /foo/bar HTTP/1.1
027+ User-Agent: PHP/5.4.0
029+ Accept: */*
030- string(1) "1"
031- string(48) "GET /foo/bar HTTP/1.0
032- Host: 127.0.0.1:12342
033-
034- "
035+ ["headers"]=>
036+ array(0) {
037+ }
038+ ["readbuf"]=>
039+ resource(19) of type (stream)
037- [0]=>
038- string(22) "HTTP/1.0 404 Not found"
039- [1]=>
040- string(10) "X-bar: baz"
041+ string(0) ""
042+ string(0) ""
042- string(1) "2"
043- string(48) "GET /foo/bar HTTP/1.0
045+ ["headers"]=>
046+ array(0) {
047+ }
048+ ["readbuf"]=>
049+ resource(22) of type (stream)
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
051+ string(1) "1"
052+ string(84) "GET /foo/bar HTTP/1.1
053+ User-Agent: PHP/5.4.0
055+ Accept: */*
055- string(1) "1"
056- string(48) "GET /foo/bar HTTP/1.0
057- Host: 127.0.0.1:12342
058-
059- "
061+ ["headers"]=>
062+ array(0) {
063+ }
064+ ["readbuf"]=>
065+ resource(28) of type (stream)
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
067+ string(0) ""
068+ string(0) ""
067- string(1) "2"
068- string(48) "GET /foo/bar HTTP/1.0
071+ ["headers"]=>
072+ array(0) {
073+ }
074+ ["readbuf"]=>
075+ resource(31) of type (stream)
077+ string(1) "1"
078+ string(84) "GET /foo/bar HTTP/1.1
079+ User-Agent: PHP/5.4.0
081+ Accept: */*