PHP8 readline_add_history — 添加一行到历史
readline_add_history — 添加一行到历史
说明
readline_add_history(string $prompt): bool此函数添加一行到命令行历史。
参数
prompt添加到历史中的行。
返回值
成功时返回 true, 或者在失败时返回 false。
readline_add_history — 添加一行到历史
readline_add_history(string $prompt): bool此函数添加一行到命令行历史。
prompt添加到历史中的行。
成功时返回 true, 或者在失败时返回 false。