寫入歷史記錄

readline_write_history

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

readline_write_history寫入歷史記錄

說明

readline_write_history(string $filename = ?): bool

這個函式將命令歷史寫入到一個檔案.

參數

filename

儲存檔案的路徑.

返回值

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

Leave a Reply

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