Jesus · Bible · HTML · CSS · JS · PHP · SVG · Applications

bzflush

Description

The bzflush of bzip2 for PHP does nothing.

Syntax

bzflush(
    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 = bzflush($bz);

    var_export($return);

bzclose($bz);

?>
true
HomeMenu