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, 10 Oct 2008

view this page in

http_chunked_decode

(PECL pecl_http:0.1.0-1.5.5)

http_chunked_decodeDécode un fragment de donnée encodé

Description

string http_chunked_decode ( string $encoded )

Décode un fragment de chaîne encodée.

Liste de paramètres

encoded

Fragment de chaîne encodée

Valeurs de retour

Retourne la chaîne décodée en cas de succès, ou FALSE si une erreur survient.

Exemples

Exemple #1 Exemple avec 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);
?>

L'exemple ci-dessus va afficher :

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, 10 Oct 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites