PHP Manual
Function Reference
Compression and Archive Extensions
Bzip2
LZF
Phar
Rar
Zip
Zlib
Compression and Archive Extensions
Introduction
Compression and Archive Extensions
PHP Manual
Bzip2
Table of Contents
Introduction
Installing/Configuring
Requirements
Installation
Resource Types
Examples
Bzip2 Functions
bzclose
— Close a bzip2 file
bzcompress
— Compress a string into bzip2 encoded data
bzdecompress
— Decompresses bzip2 encoded data
bzerrno
— Returns a bzip2 error number
bzerror
— Returns the bzip2 error number and error string in an array
bzerrstr
— Returns a bzip2 error string
bzflush
— Do nothing
bzopen
— Opens a bzip2 compressed file
bzread
— Binary safe bzip2 file read
bzwrite
— Binary safe bzip2 file write