readline

Example

 string readline ([ string $prompt ] ) 

Description

Reads a single line from the user. You must add this line to the history yourself using readline_add_history().

Return Values

Returns a single string from the user. The line returned has the ending newline removed.