Home > PHP > Function > Bzip2 > bzflush()

bzflush()

bzflush - Force a write of all buffered data

Syntax

int bzflush (resource $bz)

Arguments

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

Description

Forces a write of all buffered bzip2 data for the file pointer bz.

Version

PHP 4.0.4, 5

Return value

Returns TRUE on success or FALSE on failure.