projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
add test file to package.xml
[m6w6/ext-http]
/
tests
/
parse_message_004.phpt
diff --git
a/tests/parse_message_004.phpt
b/tests/parse_message_004.phpt
index 653d08326b1248cb7ec8e1e1b17f9bc6c89857ad..5ce6048ddf530378346679be6cc92650260a358f 100644
(file)
--- a/
tests/parse_message_004.phpt
+++ b/
tests/parse_message_004.phpt
@@
-30,8
+30,8
@@
var_dump(http_parse_message($message));
echo "Done\n";
?>
--EXPECTF--
echo "Done\n";
?>
--EXPECTF--
-%
s
TEST
-object(stdClass)
#1 (7)
{
+%
a
TEST
+object(stdClass)
%a
{
["type"]=>
int(2)
["httpVersion"]=>
["type"]=>
int(2)
["httpVersion"]=>
@@
-50,7
+50,7
@@
object(stdClass)#1 (7) {
["body"]=>
string(10) "1234567890"
["parentMessage"]=>
["body"]=>
string(10) "1234567890"
["parentMessage"]=>
- object(stdClass)
#2 (7)
{
+ object(stdClass)
%a
{
["type"]=>
int(1)
["httpVersion"]=>
["type"]=>
int(1)
["httpVersion"]=>
@@
-69,7
+69,7
@@
object(stdClass)#1 (7) {
["body"]=>
string(0) ""
["parentMessage"]=>
["body"]=>
string(0) ""
["parentMessage"]=>
- object(stdClass)
#3 (7)
{
+ object(stdClass)
%a
{
["type"]=>
int(2)
["httpVersion"]=>
["type"]=>
int(2)
["httpVersion"]=>
@@
-88,7
+88,7
@@
object(stdClass)#1 (7) {
["body"]=>
string(0) ""
["parentMessage"]=>
["body"]=>
string(0) ""
["parentMessage"]=>
- object(stdClass)
#4 (7)
{
+ object(stdClass)
%a
{
["type"]=>
int(1)
["httpVersion"]=>
["type"]=>
int(1)
["httpVersion"]=>