|
PHP5中文手册
readline(PHP 4, PHP 5) readline — 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(). 参数
返回值Returns a single string from the user. The line returned has the ending newline removed. 范例
Example#1 readline() Example
<?php |