readline

 string readline ([ string $prompt ] ) 

説明

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

戻り値

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