readline_clear_history
PHP Manual
PHP Manual»Readline Функції»readline_clear_history

readline_clear_history

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

readline_clear_historyClears the history

Опис

function readline_clear_history(): true

This function clears the entire command line history.

Параметри

У цієї функції немає параметрів.

Значення, що повертаються

Завжди повертає true.

Журнал змін

Версія Опис
8.5.0 The return type is true now; previously, it was bool.
To Top