bzerror

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Returns the bzip2 error number and error string in an array array bzerror ( resource $bz ) Returns the error number and error string of any bzip2 error returned by the given file pointer. Parameters: bz The file pointer. It must be valid and must point to a file successfully opened by bzopen(). Returns: Returns

bzerrstr

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Returns a bzip2 error string string bzerrstr ( resource $bz ) Gets the error string of any bzip2 error returned by the given file pointer. Parameters: bz The file pointer. It must be valid and must point to a file successfully opened by bzopen(). Returns: Returns a string containing the error message.

bzflush

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Force a write of all buffered data bool bzflush ( resource $bz ) Forces a write of all buffered bzip2 data for the file pointer bz. Parameters: bz The file pointer. It must be valid and must point to a file successfully opened by bzopen(). Returns: Returns TRUE on success or FALSE on failure.

bzopen

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Opens a bzip2 compressed file resource bzopen ( mixed $file, string $mode ) bzopen() opens a bzip2 (.bz2) file for reading or writing. Parameters: file The name of the file to open, or an existing stream resource. mode The modes 'r' (read), and 'w' (write) are supported. Everything else will cause bzope

bzread

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Binary safe bzip2 file read string bzread ( resource $bz [, int $length = 1024 ] ) bzread() reads from the given bzip2 file pointer. Reading stops when length (uncompressed) bytes have been read or EOF is reached, whichever comes first. Parameters: bz The file pointer. It must be valid and must point to a file successfully opened by bz

bzwrite

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Binary safe bzip2 file write int bzwrite ( resource $bz, string $data [, int $length ] ) bzwrite() writes a string into the given bzip2 file stream. Parameters: bz The file pointer. It must be valid and must point to a file successfully opened by bzopen(). data The written data. l

lzf_compress

(PECL lzf >= 0.1.0) LZF compression string lzf_compress ( string $data ) lzf_compress() compresses the given data string using LZF encoding. Parameters: data The string to compress. Returns: Returns the compressed data or FALSE if an error occurred. See also:

lzf_decompress

(PECL lzf >= 0.1.0) LZF decompression string lzf_decompress ( string $data ) lzf_compress() decompresses the given data string containing lzf encoded data. Parameters: data The compressed string. Returns: Returns the decompressed data or FALSE if an error occurred. See also:

lzf_optimized_for

(PECL lzf >= 1.0.0) Determines what LZF extension was optimized for int lzf_optimized_for ( void ) Determines what was LZF extension optimized for during compilation. Returns: Returns 1 if LZF was optimized for speed, 0 for compression.

Phar::addEmptyDir

(Unknown) Add an empty directory to the phar archive public void Phar::addEmptyDir ( string $dirname ) Note: This method requires the php.ini setting phar.readonly to be set to 0 in order to work for Phar objects. Otherwise, a PharException will be thrown. With this method, an empty directory is created with path dirname. This method is similar to ZipArchive::addEmptyDir(). Parameters: