Compression Extensions
Introduction
Compression Extensions
PHP Manual

# Bzip2 Compression

- Introduction
- Installing/Configuring
  - Installation
  - Runtime Configuration
  - Resource Types
- Predefined Constants
- Examples
- Bzip2 — 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 — Force a write of all buffered data
  - bzopen — Opens a bzip2 compressed file
  - bzread — Binary safe bzip2 file read
  - bzwrite — Binary safe bzip2 file write

Compression Extensions
Introduction
Compression Extensions
PHP Manual