array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'uk', ), 'this' => array ( 0 => 'function.readline-write-history.php', 1 => 'readline_write_history', 2 => 'Writes the history', ), 'up' => array ( 0 => 'ref.readline.php', 1 => 'Readline Функції', ), 'prev' => array ( 0 => 'function.readline-redisplay.php', 1 => 'readline_redisplay', ), 'next' => array ( 0 => 'refs.compression.php', 1 => 'Розширення для архівації та стиснення', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/readline/functions/readline-write-history.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

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.