[php-src] PR #13964: cli: allow to change ~/.php_history with PHP_HISTFILE
| From: | spk | Date: | Mon, 15 Apr 2024 09:58:41 +0000 |
| Subject: | [php-src] PR #13964: cli: allow to change ~/.php_history with PHP_HISTFILE | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-25747@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/13964
Author: spk
# why
Allow to change .php_history repl file with PHP_HISTFILE environment variable
# how
If the env var is present use it first then fallback to HOME or USERPROFILE on windows
(i'm not a C developer any help/feedback welcome thanks)