Example 1. A http_chunked_decode() example
<?php $string = "". "05\r\n". "this \r\n". "07\r\n". "string \r\n". "12\r\n". "is chunked encoded\r\n". "01\n\r\n". "00"; echo http_chunked_decode($string); ?>
|
The above example will output:
this string is chunked encoded |