--TEST--
-http_chunked_decode()
+http_chunked_decode() "\r\n"
--SKIPIF--
-<?php
+<?php
include 'skip.inc';
?>
--FILE--
<?php
-$data =
+echo "-TEST\n";
+$data =
"02\r\n".
"ab\r\n".
-"03\r\n".
-"a\nc\r\n".
"04\r\n".
-"abcd\r\n".
+"ra\nc\r\n".
+"06\r\n".
+"adabra\r\n".
"0\r\n".
-"abracadabra\n";
+"nothing\n";
var_dump(http_chunked_decode($data));
?>
--EXPECTF--
-Content-type: text/html
-X-Powered-By: PHP/%s
+%sTEST
+string(12) "abra
+cadabra"
-string(9) "aba
-cabcd"