Section A.26. Streams


A.26. Streams

PHP streams implementations and utilities

A.26.1. bz2_filter

Repository: PECL - License: PHP - By Sara Golemon (lead)

bz2 filter implementation backport for PHP 5.0

A.26.1.1 Description

bzip2 compress/decompress stream filter implementation. Performs inline compression/decompression using the bzip2 algorythm on any PHP I/O stream. The data produced by this filter, while compatable with the payload portion of a bz2 file, does not include headers or tailers for full bz2 file compatability. To achieve this format, use the compress.bzip2:// fopen wrapper built directly into PHP.

A.26.2. oggvorbis

Repository: PECL - License: PHP - By Sara Golemon (lead)

OGG wrapper for OGG/Vorbis files

A.26.2.1 Description

fopen wrapper for OGG/Vorbis files. Decompress OGG data to PCM audio and vice-versa.

A.26.3. openal

Repository: PECL - License: PHP - By Sara Golemon (lead)

OpenAL Bindings

A.26.3.1 Description

OpenAL - Platform independent sound bindings

A.26.4. Stream_SHM

Repository: - License: PHP -

Shared Memory Stream

A.26.4.1 Description

The Stream_SHM package provides a class that can be registered with stream_register_wrapper() in order to have stream-based shared-memory access.

A.26.5. Stream_Var

Repository: PEAR - License: PHP License - By Stephan Schmidt (lead)

Allows stream based access to any variable.

A.26.5.1 Description

Stream_Var can be registered as a stream with stream_register_wrapper() and allows stream based acces to variables in any scope. Arrays are treated as directories, so it's possible to replace temporary directories and files in your application with variables.

A.26.6. zlib_filter

Repository: PECL - License: PHP - By Sara Golemon (lead)

zlib filter implementation backport for PHP 5.0

A.26.6.1 Description

RFC 1951 inflate/deflate stream filter implementation. Performs inline compression/decompression using the deflate method on any PHP I/O stream. The data produced by this filter, while compatable with the payload portion of an RFC 1952 gzip file, does not include headers or tailers for full RFC 1952 gzip compatability. To achieve this format, use the compress.zlib:// fopen wrapper built directly into PHP.



    PHP 5 Power Programming
    PHP 5 Power Programming
    ISBN: 013147149X
    EAN: 2147483647
    Year: 2003
    Pages: 240

    Similar book on Amazon

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net