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

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

Count Diff
69 (85%)
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(85) "GET /foo/bar HTTP/1.1
012+ User-Agent: PHP/5.3.28
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(85) "GET /foo/bar HTTP/1.1
027+ User-Agent: PHP/5.3.28
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(85) "GET /foo/bar HTTP/1.1
043+ User-Agent: PHP/5.3.28
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(85) "GET /foo/bar HTTP/1.1
058+ User-Agent: PHP/5.3.28
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(85) "GET /foo/bar HTTP/1.1
074+ User-Agent: PHP/5.3.28
076+ Accept: */*
081+ ["headers"]=>
082+ array(0) {
083+ }
084+ ["readbuf"]=>
085+ resource(31) of type (stream)
088+ string(85) "GET /foo/bar HTTP/1.1
089+ User-Agent: PHP/5.3.28
091+ Accept: */*
4 (5%)
2 (2%)
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(85) "GET /foo/bar HTTP/1.1
013+ User-Agent: PHP/5.3.28
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(85) "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.3.28
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(85) "GET /foo/bar HTTP/1.1
043- string(48) "GET /foo/bar HTTP/1.0
044+ User-Agent: PHP/5.3.28
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(85) "GET /foo/bar HTTP/1.1
059+ User-Agent: PHP/5.3.28
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(85) "GET /foo/bar HTTP/1.1
075+ User-Agent: PHP/5.3.28
076+ Accept: */*
081+ ["headers"]=>
082+ array(0) {
083+ }
084+ ["readbuf"]=>
085+ resource(31) of type (stream)
088+ string(85) "GET /foo/bar HTTP/1.1
090+ User-Agent: PHP/5.3.28
091+ Accept: */*
1 (1%)
010+ string(80) "GET /foo/bar HTTP/1.0
011+ From: gingko@gingko.homeip.net
010- string(48) "GET /foo/bar HTTP/1.0
018- string(48) "GET /foo/bar HTTP/1.0
019+ string(80) "GET /foo/bar HTTP/1.0
020+ From: gingko@gingko.homeip.net
031- string(48) "GET /foo/bar HTTP/1.0
033+ string(80) "GET /foo/bar HTTP/1.0
034+ From: gingko@gingko.homeip.net
043- string(48) "GET /foo/bar HTTP/1.0
046+ string(80) "GET /foo/bar HTTP/1.0
047+ From: gingko@gingko.homeip.net
056- string(48) "GET /foo/bar HTTP/1.0
060+ string(80) "GET /foo/bar HTTP/1.0
061+ From: gingko@gingko.homeip.net
068- string(48) "GET /foo/bar HTTP/1.0
073+ string(80) "GET /foo/bar HTTP/1.0
074+ From: gingko@gingko.homeip.net
1 (1%)
010+ string(108) "GET /foo/bar HTTP/1.0
011+ From: webmaster@yamadacasino.com
010- string(48) "GET /foo/bar HTTP/1.0
013+ User-Agent: YamadaCasino
018- string(48) "GET /foo/bar HTTP/1.0
020+ string(108) "GET /foo/bar HTTP/1.0
021+ From: webmaster@yamadacasino.com
023+ User-Agent: YamadaCasino
031- string(48) "GET /foo/bar HTTP/1.0
035+ string(108) "GET /foo/bar HTTP/1.0
036+ From: webmaster@yamadacasino.com
038+ User-Agent: YamadaCasino
043- string(48) "GET /foo/bar HTTP/1.0
049+ string(108) "GET /foo/bar HTTP/1.0
050+ From: webmaster@yamadacasino.com
052+ User-Agent: YamadaCasino
056- string(48) "GET /foo/bar HTTP/1.0
064+ string(108) "GET /foo/bar HTTP/1.0
065+ From: webmaster@yamadacasino.com
067+ User-Agent: YamadaCasino
068- string(48) "GET /foo/bar HTTP/1.0
078+ string(108) "GET /foo/bar HTTP/1.0
079+ From: webmaster@yamadacasino.com
081+ User-Agent: YamadaCasino
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(85) "GET /foo/bar HTTP/1.1
013+ User-Agent: PHP/5.3.28
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(85) "GET /foo/bar HTTP/1.1
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
032+ User-Agent: PHP/5.3.28
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(85) "GET /foo/bar HTTP/1.1
048+ User-Agent: PHP/5.3.28
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(85) "GET /foo/bar HTTP/1.1
067+ User-Agent: PHP/5.3.28
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(85) "GET /foo/bar HTTP/1.1
083+ User-Agent: PHP/5.3.28
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(85) "GET /foo/bar HTTP/1.1
102+ User-Agent: PHP/5.3.28
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(85) "GET /foo/bar HTTP/1.1
012+ User-Agent: PHP/5.3.28
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(85) "GET /foo/bar HTTP/1.1
027+ User-Agent: PHP/5.3.28
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(2) {
037+ [0]=>
038+ string(15) "HTTP/1.0 200 Ok"
039+ [1]=>
040+ string(10) "X-Foo: bar"
041+ }
042+ ["readbuf"]=>
043+ 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
046+ string(85) "GET /foo/bar HTTP/1.1
047+ User-Agent: PHP/5.3.28
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(85) "GET /foo/bar HTTP/1.1
066+ User-Agent: PHP/5.3.28
068+ Accept: */*
068- string(48) "GET /foo/bar HTTP/1.0
074+ ["headers"]=>
075+ array(2) {
076+ [0]=>
077+ string(15) "HTTP/1.0 200 Ok"
078+ [1]=>
079+ string(10) "X-Foo: bar"
080+ }
081+ ["readbuf"]=>
082+ resource(28) of type (stream)
085+ string(85) "GET /foo/bar HTTP/1.1
086+ User-Agent: PHP/5.3.28
088+ Accept: */*
093+ ["headers"]=>
094+ array(2) {
095+ [0]=>
096+ string(22) "HTTP/1.0 404 Not found"
097+ [1]=>
098+ string(10) "X-bar: baz"
099+ }
100+ ["readbuf"]=>
101+ resource(31) of type (stream)
104+ string(85) "GET /foo/bar HTTP/1.1
105+ User-Agent: PHP/5.3.28
107+ 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(103) "GET /foo/bar HTTP/1.1
012+ User-Agent: PHP/5.3.28
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(103) "GET /foo/bar HTTP/1.1
028+ User-Agent: PHP/5.3.28
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(103) "GET /foo/bar HTTP/1.1
045+ User-Agent: PHP/5.3.28
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(103) "GET /foo/bar HTTP/1.1
061+ User-Agent: PHP/5.3.28
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(103) "GET /foo/bar HTTP/1.1
078+ User-Agent: PHP/5.3.28
080+ Pragma: no-cache
081+ Accept: */*
086+ ["headers"]=>
087+ array(0) {
088+ }
089+ ["readbuf"]=>
090+ resource(31) of type (stream)
093+ string(103) "GET /foo/bar HTTP/1.1
094+ User-Agent: PHP/5.3.28
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"
009- string(1) "1"
010- string(48) "GET /foo/bar HTTP/1.0
011- Host: 127.0.0.1:12342
012-
013- "
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- "
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(0) ""
021+ string(0) ""
025+ ["headers"]=>
026+ array(0) {
027+ }
028+ ["readbuf"]=>
029+ resource(19) of type (stream)
025- [0]=>
026- string(15) "HTTP/1.0 200 Ok"
027- [1]=>
028- string(10) "X-Foo: bar"
030- string(1) "1"
031- string(48) "GET /foo/bar HTTP/1.0
032- Host: 127.0.0.1:12342
033-
034- "
031+ string(0) ""
032+ string(0) ""
035+ ["headers"]=>
036+ array(0) {
037+ }
038+ ["readbuf"]=>
039+ resource(22) 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
044- Host: 127.0.0.1:12342
045-
046- "
046+ ["headers"]=>
047+ array(0) {
048+ }
049+ ["readbuf"]=>
050+ resource(28) of type (stream)
050- [0]=>
051- string(15) "HTTP/1.0 200 Ok"
052- [1]=>
053- string(10) "X-Foo: bar"
052+ string(0) ""
053+ string(0) ""
055- string(1) "1"
056- string(48) "GET /foo/bar HTTP/1.0
057- Host: 127.0.0.1:12342
058-
059- "
056+ ["headers"]=>
057+ array(0) {
058+ }
059+ ["readbuf"]=>
060+ resource(31) of type (stream)
062+ string(0) ""
063+ string(0) ""
062- [0]=>
063- string(22) "HTTP/1.0 404 Not found"
064- [1]=>
065- string(10) "X-bar: baz"
067- string(1) "2"
068- string(48) "GET /foo/bar HTTP/1.0
069- Host: 127.0.0.1:12342
070-
071- "