PHP 8.1.31 Released!

readline_clear_history

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

readline_clear_historyClears the history

Description

readline_clear_history(): bool

This function clears the entire command line history.

Parameters

This function has no parameters.

Return Values

Returns true on success or false on failure.

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top