Merge branch 'v2.5.x'
[m6w6/ext-http] / tests / envresponsebody001.phpt
1 --TEST--
2 env response body
3 --SKIPIF--
4 <?php
5 include "skipif.inc";
6 ?>
7 --INI--
8 output_buffering=1
9 --FILE--
10 <?php
11 echo "Test\n";
12 $r = new http\Env\Response;
13 var_dump((string) $r->getBody());
14 ?>
15 Done
16 --EXPECTF--
17 Test
18 string(5) "Test
19 "
20 Done