1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

tests: add php_history file check (#13967)

This commit is contained in:
Laurent Arnoud
2024-04-16 12:39:46 +02:00
committed by GitHub
parent d40726670f
commit a64fc008c8

View File

@@ -61,6 +61,8 @@ foreach ($codes as $key => $code) {
}
echo "\nDone\n";
$dir = PHP_OS_FAMILY == 'Windows' ? getenv("USERPROFILE") : getenv("HOME");
var_dump(file_exists($dir . '/.php_history'));
?>
--EXPECT--
--------------
@@ -105,3 +107,4 @@ Interactive shell
Parse error: Unmatched ')' in php shell code on line 1
Done
bool(true)