Документация PHP
| Документация DHTML | Документация Smarty | SVG/VML Графика и JavaScript
| Документация bash |
HttpInflateStream::__construct
The HttpInflateStream class
Class synopsis
HttpInflateStream
class HttpInflateStream {
public void __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 )
}
Class Members
Constants
Type | Name | Description |
---|---|---|
int | FLUSH_NONE | no forced flush |
int | FLUSH_SYNC | synching flush |
int | FLUSH_FULL | full flush |
Замечание: Flushing usually has no effect on inflate streams.
Примеры
Пример #1 A HttpInflateStream example
<?php
$stream = new HttpInflateStream;
echo $stream->update($data);
echo $stream->finish();
?>
Содержание
- HttpInflateStream::__construct — HttpInflateStream class constructor
- HttpInflateStream::factory — HttpInflateStream class factory
- HttpInflateStream::finish — Finalize inflate stream
- HttpInflateStream::flush — Flush inflate stream
- HttpInflateStream::update — Update inflate stream