圧縮ストリーム

zlib: PHP 4.0.4 - PHP 4.2.3 (systems with fopencookie only)

compress.zlib:// および compress.bzip2:// PHP 4.3.0以降

zlib: は、gzopen()と同様に 動作しますが、このストリームはfread() および他 のファイルシステム関数と組み合わせて使用することができるところが異 なります。この機能ではファイル名に':'文字が含まれる曖昧さがあるた め、PHP 4.3.0以降では古い機能となっています。代わりに compress.zlib:// を使用してください。

compress.zlib://および compress.bzip2://は、それぞれ gzopen() および bzopen()と等価で、 fopencookieをサポートしないシステムの上でも動作します。

表 L-7. Wrapper Summary

AttributeSupported
Restricted by allow_url_fopen.No
Allows ReadingYes
Allows WritingYes
Allows AppendingYes
Allows Simultaneous Reading and WritingNo
Supports stat() No, use the normal file:// wrapper to stat compressed files.
Supports unlink() No, use the normal file:// wrapper to unlink compressed files.
Supports rename()No
Supports mkdir()No
Supports rmdir()No