獲取命令歷史列表

readline_list_history

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

readline_list_history獲取命令歷史列表

說明

readline_list_history(): array

獲取整個命令列歷史.

返回值

返回整個命令列歷史的陣列.元素的整數索引從零開始

Leave a Reply

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