projects
/
m6w6
/
ext-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
coverity fix
[m6w6/ext-http]
/
tests
/
message010.phpt
1
--TEST--
2
message body
3
--SKIPIF--
4
<?php
5
include "skipif.inc";
6
?>
7
--FILE--
8
<?php
9
10
echo "Test\n";
11
12
$m = new http\Message;
13
$body = new http\Message\Body;
14
$body->append("foo");
15
$m->addBody($body);
16
$body = new http\Message\Body;
17
$body->append("bar");
18
$m->addBody($body);
19
var_dump("foobar" === (string) $m->getBody());
20
21
?>
22
Done
23
--EXPECT--
24
Test
25
bool(true)
26
Done