LXXXIV. GNU Readline

Because of the interactive nature of this library , it will be of little use for writing Web applications , but may be useful when writing scripts meant to be run from a shell .

Requirements

To use the readline functions , you need to install libreadline and compile PHP with support for readline .

Installation

To compile PHP with readline support , you need to configure PHP --with-readline To compile PHP with readline support , you need to configure PHP --with-readline after you ' ve installed libreadline .

Runtime Configuration

This extension does not define any configuration directives .

Resource types

This extension does not define any resource types .

Predefined constants

This extension does not define any constants .

תוכן העניינים:
readline -- Reads a line
readline_add_history -- Adds a line to the history
readline_clear_history -- Clears the history
readline_completion_function -- Registers a completion function
readline_info -- Gets/sets various internal readline variables
readline_list_history -- Lists the history
readline_read_history -- Reads the history
readline_write_history -- Writes the history