Browse Source

repl: Add prompt

master
Elis Hirwing 2 years ago
parent
commit
8a9b161e78
Signed by: etu GPG Key ID: D57EFA625C9A925F
  1. 2
      repl.php

2
repl.php

@ -21,6 +21,8 @@ $httpClient = new \GuzzleHttp\Client([
]);
while (true) {
echo PHP_EOL.'> ';
// Read user input
$line = trim(strtolower(fgets(STDIN)));

Loading…
Cancel
Save