Home > PHP > Function > Bzip2 > bzclose()

bzclose()

bzclose - Close a bzip2 file

Syntax

int bzclose (resource $bz)

Arguments

  • bz - The file pointer. It must be valid and must point to a file successfully opened by bzopen().

Description

Closes the given bzip2 file pointer.

Version

PHP 4.0.4, 5

Return value

Returns TRUE on success or FALSE on failure.