PHP 5.6.0RC3 is available

Classe HttpInflateStream

(PECL pecl_http >= 0.21.0)

Synopsis de la classe

HttpInflateStream {
public __construct ([ int $flags = 0 ] )
public HttpInflateStream factory ([ int $flags = 0 [, string $class_name = "HttpInflateStream" ]] )
public string finish ([ string $data ] )
public string flush ([ string $data ] )
public string update ( string $data )
}

Membres de la classe

Constantes

Type Nom Description
int FLUSH_NONE pas de flush forcé
int FLUSH_SYNC synchronisation du flush
int FLUSH_FULL flush complet

Note:

Le flush n'a habituellement aucun effet sur les flux décompressés.

Exemples

Exemple #1 Exemple avec HttpInflateStream

<?php
$stream 
= new HttpInflateStream;
echo 
$stream->update($data);
echo 
$stream->finish();
?>

Sommaire

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top