PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

http_deflate> <http_cache_last_modified
Last updated: Fri, 29 Aug 2008

view this page in

http_chunked_decode

(PECL pecl_http:0.1.0-1.5.5)

http_chunked_decodechunked-encoded データをデコードする

説明

string http_chunked_decode ( string $encoded )

HTTP-chunked エンコードされた文字列をデコードします。

パラメータ

encoded

Chunked encode された文字列。

返り値

成功した場合はデコードした文字列、失敗した場合は FALSE を返します。

例1 http_chunked_decode() の例

<?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);
?>

上の例の出力は以下となります。

this string is chunked encoded



add a note add a note User Contributed Notes
http_chunked_decode
There are no user contributed notes for this page.

http_deflate> <http_cache_last_modified
Last updated: Fri, 29 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites