readline_read_history

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

readline_read_historyReads the history

Description

readline_read_history(?string $filename = null): bool

This function reads a command history from a file.

Parameters

filename

Path to the filename containing the command history.

Return Values

Returns true on success or false on failure.

Changelog

Version Description
8.0.0 filename is nullable now.
add a note

User Contributed Notes 1 note

up
-4
Anonymous
14 years ago
Note that the first line in the history file must contain the string: _HiStOrY_V2_

Else it wont work.
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant