readline_list_history

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

readline_list_history获取历史

说明

readline_list_history(): array

获取完整命令行历史。

参数

此函数没有参数。

返回值

返回完整命令行历史的数组。元素的索引为整数,从零开始。

To Top