projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fixed bug #15800
[m6w6/ext-http]
/
tests
/
HttpMessage_003.phpt
diff --git
a/tests/HttpMessage_003.phpt
b/tests/HttpMessage_003.phpt
index 8c416b9b906df9f99574aa6d219887a7812df2ab..831b4da888d809f06cc8a63631d6e6107ec464e7 100644
(file)
--- a/
tests/HttpMessage_003.phpt
+++ b/
tests/HttpMessage_003.phpt
@@
-3,7
+3,7
@@
HttpMessage implements Serializable, Countable
--SKIPIF--
<?php
include 'skip.inc';
--SKIPIF--
<?php
include 'skip.inc';
-checkmin(
5
);
+checkmin(
"5.2.5"
);
?>
--FILE--
<?php
?>
--FILE--
<?php
@@
-31,7
+31,7
@@
var_dump($m->count());
echo "Done\n";
?>
--EXPECTF--
echo "Done\n";
?>
--EXPECTF--
-%
s
TEST
+%
a
TEST
int(3)
string(148) "HTTP/1.1 301
Location: /anywhere
int(3)
string(148) "HTTP/1.1 301
Location: /anywhere
@@
-44,26
+44,26
@@
Content-Length: 1
X
"
object(HttpMessage)#%d (%d) {
X
"
object(HttpMessage)#%d (%d) {
- ["type
:protected"
]=>
+ ["type
%s
]=>
int(2)
int(2)
- ["body
:protected"
]=>
+ ["body
%s
]=>
string(0) ""
string(0) ""
- ["requestMethod
:protected"
]=>
+ ["requestMethod
%s
]=>
string(0) ""
string(0) ""
- ["requestUrl
:protected"
]=>
+ ["requestUrl
%s
]=>
string(0) ""
string(0) ""
- ["responseStatus
:protected"
]=>
+ ["responseStatus
%s
]=>
string(2) "Ok"
string(2) "Ok"
- ["responseCode
:protected"
]=>
+ ["responseCode
%s
]=>
int(200)
int(200)
- ["httpVersion
:protected"
]=>
+ ["httpVersion
%s
]=>
float(1.1)
float(1.1)
- ["headers
:protected"
]=>
+ ["headers
%s
]=>
array(1) {
["Server"]=>
string(9) "Funky/1.0"
}
array(1) {
["Server"]=>
string(9) "Funky/1.0"
}
- ["parentMessage
:protected"
]=>
+ ["parentMessage
%s
]=>
NULL
}
int(1)
NULL
}
int(1)