ң

readline

(PHP 4)

readline - .

string readline ([string prompt])

. , . ̣ newline. history readline_add_history() .

1. readline()
// 3 for ($i=0; $i < 3; $i++) { $line = readline ("Command: "); readline_add_history ($line); } // print_r (readline_list_history()); // print_r (readline_info());

ң
readline_write_history GNU Recode