diff --git a/cli.php b/cli.php index 9e9358b..b0aa951 100644 --- a/cli.php +++ b/cli.php @@ -9,4 +9,8 @@ function checkIsCli():string return (in_array(php_sapi_name(), $validCli)) ? 'cli' : 'not cli'; } -echo checkIsCli(); \ No newline at end of file +echo checkIsCli(); +exec('ls',$output); +print_r($output); +readline_add_history('ls'); +print_r(readline_list_history()); \ No newline at end of file