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

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

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_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_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_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_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_info

(PHP 4, PHP 5, PHP 7) Gets/sets various internal readline variables mixed readline_info ([ string $varname [, string $newvalue ]] ) Gets or sets various internal readline variables. Parameters: varname A variable name. newvalue If provided, this will be the new value of the setting. Returns: If called with no p

readline_completion_function

(PHP 4, PHP 5, PHP 7) Registers a completion function bool readline_completion_function ( callable $function ) This function registers a completion function. This is the same kind of functionality you'd get if you hit your tab key while using Bash. Parameters: function You must supply the name of an existing function which accepts a partial command line and returns an arr

readline_clear_history

(PHP 4, PHP 5, PHP 7) Clears the history bool readline_clear_history ( void ) This function clears the entire command line history. Returns: Returns TRUE on success or FALSE on failure.