HTTP
php 手册 | 脚本学堂 | 脚本编程 | 网站编程 | 系统管理 | 服务器配置 | 数据库管理 | Php教程 | python教程 | 正则表达式 | 批处理脚本 | Centos教程 | Linux基础教程

The HttpInflateStream class

Class synopsis

HttpInflateStream
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

Note: Flushing usually has no effect on inflate streams.

范例

Example #1 A HttpInflateStream example

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

Table of Contents


HTTP
php 手册 | 脚本学堂 | 脚本编程 | 网站编程 | 系统管理 | 服务器配置 | 数据库管理 | Php教程 | python教程 | 正则表达式 | 批处理脚本 | Centos教程 | Linux基础教程