Home > PHP > Function > Bzip2 > bzerrstr()

bzerrstr()

bzerrstr - Returns a bzip2 error string

Syntax

string bzerrstr (resource $bz)

Arguments

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

Description

Gets the error string of any bzip2 error returned by the given file pointer.

Version

PHP 4.0.4, 5

Return value

Returns a string containing the error message.