diff --git a/functions/bzip2.xml b/functions/bzip2.xml index f637200ed8..9732671334 100644 --- a/functions/bzip2.xml +++ b/functions/bzip2.xml @@ -1,5 +1,5 @@ - + Bzip2 Compression Functions Bzip2 @@ -38,7 +38,8 @@
Resource types - This extension does not define any resource types. + This extension defines one resource type: a file pointer identifying + the bz2-file to work on.
@@ -101,7 +102,7 @@ bzclose($bz); Description intbzclose - intbz + resourcebz Closes the bzip2 file referenced by the pointer bz. @@ -234,7 +235,7 @@ print( "\n
\n" ); Description intbzerrno - intbz + resourcebz Returns the error number of any bzip2 error returned by the file @@ -256,7 +257,7 @@ print( "\n
\n" ); Description arraybzerror - intbz + resourcebz Returns the error number and error string, in an associative array, @@ -294,7 +295,7 @@ echo $error["errstr"]; Description stringbzerrstr - intbz + resourcebz Returns the error string of any bzip2 error returned by the file @@ -316,7 +317,7 @@ echo $error["errstr"]; Description intbzflush - intbz + resourcebz Forces a write of all buffered bzip2 data for the file pointer @@ -340,7 +341,7 @@ echo $error["errstr"]; Description - intbzopen + resourcebzopen stringfilename stringmode @@ -388,7 +389,7 @@ print( $decompressed_file ); Description stringbzread - intbz + resourcebz intlength @@ -431,7 +432,7 @@ print( $str ); Description intbzwrite - intbz + resourcebz stringdata intlength