bzclose

(PHP 4 >= 4.0.4, PHP 5, PHP 7)

bzcloseClose a bzip2 file

Description

bzclose ( resource $bz ) : bool

Closes the given bzip2 file pointer.

Parameters

bz

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

Return Values

Returns true on success or false on failure.

See Also

  • bzopen() - Opens a bzip2 compressed file

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/function.bzclose.php