(PHP 4, PHP 5, PHP 7)
readline_write_history — Writes the history
$filename
  ] )This function writes the command history to a file.
filenamePath to the saved file.
   Возвращает TRUE в случае успешного завершения  или FALSE в случае возникновения ошибки.