remove rinit and json dep in favor of pecl/json_post and pecl/apfd
[m6w6/ext-http] / tests / encstream002.phpt
1 --TEST--
2 encoding stream chunked not encoded
3 --SKIPIF--
4 <?php
5 include "skipif.inc";
6 ?>
7 --FILE--
8 <?php
9 echo "Test\n";
10
11 $s = "this is apparently not encodded\n";
12 var_dump($s === http\Encoding\Stream\Dechunk::decode($s));
13
14 ?>
15 DONE
16 --EXPECTF--
17 Test
18
19 Notice: http\Encoding\Stream\Dechunk::decode(): Data does not seem to be chunked encoded in %s on line %d
20 bool(true)
21 DONE