From 86b689f3d7111a9fa13da389a30f3dfdf877d1a4 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Sat, 19 Apr 2014 13:04:09 -0500 Subject: All: *ARGV* and *host-language*. Misc syncing/fixes. --- php/step2_eval.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'php/step2_eval.php') diff --git a/php/step2_eval.php b/php/step2_eval.php index 1cec7f7..b9d2e8e 100644 --- a/php/step2_eval.php +++ b/php/step2_eval.php @@ -61,6 +61,7 @@ $repl_env['-'] = function ($a, $b) { return intval($a - $b,10); }; $repl_env['*'] = function ($a, $b) { return intval($a * $b,10); }; $repl_env['/'] = function ($a, $b) { return intval($a / $b,10); }; +// repl loop do { try { $line = mal_readline("user> "); @@ -76,4 +77,4 @@ do { } } while (true); -?> +?> -- cgit v1.2.3