readline_write_history

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

readline_write_historyWrites the history

Опис

readline_write_history(?string $filename = null): bool

This function writes the command history to a file.

Параметри

filename

Path to the saved file.

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

Повертає true у разі успіху або false в разі помилки.

Журнал змін

Версія Опис
8.0.0 filename is nullable now.