* renaming tests
[m6w6/ext-http] / tests / chunked_decode_001.phpt
1 --TEST--
2 http_chunked_decode()
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 ?>
7 --FILE--
8 <?php
9 $data =
10 "02\r\n".
11 "ab\r\n".
12 "03\r\n".
13 "a\nc\r\n".
14 "04\r\n".
15 "abcd\r\n".
16 "0\r\n".
17 "abracadabra\n";
18 var_dump(http_chunked_decode($data));
19 ?>
20 --EXPECTF--
21 Content-type: text/html
22 X-Powered-By: PHP/%s
23
24 string(9) "aba
25 cabcd"