新增一行命令列歷史記錄

readline_add_history

(PHP 4, PHP 5, PHP 7, PHP 8)

readline_add_history新增一行命令列歷史記錄

說明

readline_add_history(string $line): bool

這個函式新增一行到命令列歷史記錄 This function adds a line to the command line history.

參數

line

這一行將被新增到歷史.

返回值

成功時返回 true, 或者在失敗時返回 false

Leave a Reply

Your email address will not be published. Required fields are marked *