aboutsummaryrefslogtreecommitdiff
path: root/php/step2_eval.php
diff options
context:
space:
mode:
Diffstat (limited to 'php/step2_eval.php')
-rw-r--r--php/step2_eval.php3
1 files changed, 2 insertions, 1 deletions
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);
-?>
+?>