readline_list_history

(PHP 4, PHP 5, PHP 7) Lists the history array readline_list_history ( void ) Gets the entire command line history. Returns: Returns an array of the entire command line history. The elements are indexed by integers starting at zero.

readline_on_new_line

(PHP 5 >= 5.1.0, PHP 7) Inform readline that the cursor has moved to a new line void readline_on_new_line ( void ) Tells readline that the cursor has moved to a new line. Returns: No value is returned.

readline_read_history

(PHP 4, PHP 5, PHP 7) Reads the history bool readline_read_history ([ string $filename ] ) This function reads a command history from a file. Parameters: filename Path to the filename containing the command history. Returns: Returns TRUE on success or FALSE on failure.

readline_redisplay

(PHP 5 >= 5.1.0, PHP 7) Redraws the display void readline_redisplay ( void ) Redraws readline to redraw the display. Returns: No value is returned.

readline_write_history

(PHP 4, PHP 5, PHP 7) Writes the history bool readline_write_history ([ string $filename ] ) This function writes the command history to a file. Parameters: filename Path to the saved file. Returns: Returns TRUE on success or FALSE on failure.

readline

(PHP 4, PHP 5, PHP 7) Reads a line string readline ([ string $prompt ] ) Reads a single line from the user. You must add this line to the history yourself using readline_add_history(). Parameters: prompt You may specify a string with which to prompt the user. Returns: Returns a single string from the user. The line returned has the ending newline

bzclose

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Close a bzip2 file int bzclose ( resource $bz ) Closes the given bzip2 file pointer. 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. S

bzcompress

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Compress a string into bzip2 encoded data mixed bzcompress ( string $source [, int $blocksize = 4 [, int $workfactor = 0 ]] ) bzcompress() compresses the given string and returns it as bzip2 encoded data. Parameters: source The string to compress. blocksize Specifies the blocksize used during compress

bzdecompress

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Decompresses bzip2 encoded data mixed bzdecompress ( string $source [, int $small = 0 ] ) bzdecompress() decompresses the given string containing bzip2 encoded data. Parameters: source The string to decompress. small If TRUE, an alternative decompression algorithm will be used which uses less memory (t

bzerrno

(PHP 4 >= 4.0.4, PHP 5, PHP 7) Returns a bzip2 error number int bzerrno ( resource $bz ) Returns the error number 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 the error number as an integer.