bzread

Example

 string bzread ( resource $bz [, int $length = 1024 ] ) 

Description

bzread() reads from the given bzip2 file pointer. Reading stops when length (uncompressed) bytes have been read or EOF is reached, whichever comes first.

Return Values

Returns the uncompressed data, or FALSE on error.