The HttpInflateStream class

Class synopsis

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

Class Members

Constants

Type Name Description
int FLUSH_NONE no forced flush
int FLUSH_SYNC synching flush
int FLUSH_FULL full flush

Note: Flushing usually has no effect on inflate streams.

Examples

Example #1 A HttpInflateStream example

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

Table of Contents


    

 

 

Home || Web Directroy || Web Designing || Get a Domain Name || Host your web site || Free Blogs || Free Tutorial || Free E-cards || Free GuestBook || Email