bzclose
Description
Syntax
bzclose( resource $bz ): bool
Parameters
bz
The file pointer. It must be valid and must point to a file successfully opened by bzopen().
Return
Returns true on success or false on failure.
Examples
1 · bz
<? $file = $_SERVER["DOCUMENT_ROOT"] . "/assets/bz2/1.bz2"; $mode = "r"; $bz = bzopen($file, $mode); if($bz === false) { die("bzopen"); } $return = bzclose($bz); var_export($return);
true