bzcompress PHP 4.0.4

string bzcompress(string source[, int blocksize100k[, int workfactor]])

 

Compresses a string into BZip2 encoded data.

bzdecompress PHP 4.0.4

string bzdecompress(string source[, int small])

 

Decompresses BZip2 compressed data.

bzerrno PHP 4.0.4

int bzerrno(resource bz)

 

Returns the error number.

bzerror PHP 4.0.4

array bzerror(resource bz)

 

Returns the error number and error string in an associative array.

bzerrstr PHP 4.0.4

string bzerrstr(resource bz)

 

Returns the error string.

bzopen PHP 4.0.4

resource bzopen(string|int file|fp, string mode)

 

Opens a new BZip2 stream.

bzread PHP 4.0.4

string bzread(int bz[, int length])

 

Reads up to length bytes from a BZip2 stream, or 1,024 bytes if length is not specified.