Skip to content

Commit

Permalink
[PHP 8.4] Mention PHP_HISTFILE env var (#4262)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-daubois authored Dec 6, 2024
1 parent 83fd65e commit 4b4292b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions features/commandline.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1479,11 +1479,13 @@ php > $foo[TAB]ThisIsAReallyLongVariableName
</programlisting>
</example>

<para>
<simpara>
The interactive shell stores your history which can be accessed using the up
and down keys. The history is saved in the
<filename>~/.php_history</filename> file.
</para>
As of PHP 8.4.0, the path to the history file can be set using the
<envar>PHP_HISTFILE</envar> environment variable.
</simpara>

<para>
The &cli.sapi; provides
Expand Down

0 comments on commit 4b4292b

Please sign in to comment.