- changelog
[m6w6/ext-http] / tests / chunked_decode_002.phpt
1 --TEST--
2 http_chunked_decode() "\n"
3 --SKIPIF--
4 <?php
5 include 'skip.inc';
6 ?>
7 --FILE--
8 <?php
9 echo "-TEST\n";
10 $data =
11 "02\n".
12 "ab\n".
13 "04\n".
14 "ra\nc\n".
15 "06\n".
16 "adabra\n".
17 "0\n".
18 "hidden\n";
19 var_dump(http_chunked_decode($data));
20 ?>
21 --EXPECTF--
22 %sTEST
23 string(12) "abra
24 cadabra"
25