X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=tests%2FHttpMessage_003.phpt;h=f0afbb97851bc60a986900147bf20ac870a2ef1a;hb=1f6593c5096d41f146d87799f7ca3e3d4446247a;hp=5e94bf38f14c5324052a5cf1b57c02517f5e1072;hpb=28676404f30a0814a8e027d63b3cec4959475c46;p=m6w6%2Fext-http diff --git a/tests/HttpMessage_003.phpt b/tests/HttpMessage_003.phpt index 5e94bf3..f0afbb9 100644 --- a/tests/HttpMessage_003.phpt +++ b/tests/HttpMessage_003.phpt @@ -3,7 +3,7 @@ HttpMessage implements Serializable, Countable --SKIPIF-- --FILE-- count()); echo "Done\n"; ?> --EXPECTF-- -%sTEST +%aTEST int(3) string(148) "HTTP/1.1 301 Location: /anywhere @@ -44,26 +44,26 @@ Content-Length: 1 X " object(HttpMessage)#%d (%d) { - ["type:protected"]=> + ["type%sprotected%s]=> int(2) - ["httpVersion:protected"]=> - float(1.1) - ["responseCode:protected"]=> - int(200) - ["responseStatus:protected"]=> - string(2) "Ok" - ["requestMethod:protected"]=> + ["body%sprotected%s]=> + string(0) "" + ["requestMethod%sprotected%s]=> string(0) "" - ["requestUrl:protected"]=> + ["requestUrl%sprotected%s]=> string(0) "" - ["headers:protected"]=> + ["responseStatus%sprotected%s]=> + string(2) "Ok" + ["responseCode%sprotected%s]=> + int(200) + ["httpVersion%sprotected%s]=> + float(1.1) + ["headers%sprotected%s]=> array(1) { ["Server"]=> string(9) "Funky/1.0" } - ["body:protected"]=> - string(0) "" - ["parentMessage:protected"]=> + ["parentMessage%sprotected%s]=> NULL } int(1)