php8.5
Home/ Manual/ readline / functions/ readline_clear_history

readline_clear_history

PHP function Edit on GitHub ✎

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

Clears the history

Description

readline_clear_history(): true

This function clears the entire command line history.

Parameters Parameters

Return Values

Always

Changelog

VersionDescription

Source: reference/readline/functions/readline-clear-history.xml · from the official PHP manual (php/doc-en)