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

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

Count Diff
79 (93%)
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.4
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.4
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.4
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.4
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.4
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.4
091+ Accept: */*
1 (1%)
010+ string(109) "GET /foo/bar HTTP/1.0
011+ From: www@tomalish.net
010- string(48) "GET /foo/bar HTTP/1.0
013+ User-Agent: Tomalish (Generic; 1.0)
018- string(48) "GET /foo/bar HTTP/1.0
020+ string(109) "GET /foo/bar HTTP/1.0
021+ From: www@tomalish.net
023+ User-Agent: Tomalish (Generic; 1.0)
031- string(48) "GET /foo/bar HTTP/1.0
035+ string(109) "GET /foo/bar HTTP/1.0
036+ From: www@tomalish.net
038+ User-Agent: Tomalish (Generic; 1.0)
043- string(48) "GET /foo/bar HTTP/1.0
049+ string(109) "GET /foo/bar HTTP/1.0
050+ From: www@tomalish.net
052+ User-Agent: Tomalish (Generic; 1.0)
056- string(48) "GET /foo/bar HTTP/1.0
064+ string(109) "GET /foo/bar HTTP/1.0
065+ From: www@tomalish.net
067+ User-Agent: Tomalish (Generic; 1.0)
068- string(48) "GET /foo/bar HTTP/1.0
078+ string(109) "GET /foo/bar HTTP/1.0
079+ From: www@tomalish.net
081+ User-Agent: Tomalish (Generic; 1.0)
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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(2) {
041+ [0]=>
042+ string(15) "HTTP/1.0 200 Ok"
043+ [1]=>
044+ string(10) "X-Foo: bar"
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.4
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(2) {
060+ [0]=>
061+ string(22) "HTTP/1.0 404 Not found"
062+ [1]=>
063+ string(10) "X-bar: baz"
064+ }
065+ ["readbuf"]=>
066+ 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
069+ string(84) "GET /foo/bar HTTP/1.1
070+ User-Agent: PHP/5.4.4
072+ Accept: */*
078+ ["headers"]=>
079+ array(0) {
080+ }
081+ ["readbuf"]=>
082+ resource(28) of type (stream)
085+ string(84) "GET /foo/bar HTTP/1.1
086+ User-Agent: PHP/5.4.4
088+ Accept: */*
093+ ["headers"]=>
094+ array(0) {
095+ }
096+ ["readbuf"]=>
097+ resource(31) of type (stream)
100+ string(84) "GET /foo/bar HTTP/1.1
101+ User-Agent: PHP/5.4.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
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.4
080+ Accept: */*
085+ ["headers"]=>
086+ array(2) {
087+ [0]=>
088+ string(22) "HTTP/1.0 404 Not found"
089+ [1]=>
090+ string(10) "X-bar: baz"
091+ }
092+ ["readbuf"]=>
093+ resource(31) of type (stream)
096+ string(84) "GET /foo/bar HTTP/1.1
097+ User-Agent: PHP/5.4.4
099+ Accept: */*