Browse Source

repl: Add prompt

master
Elis Hirwing 1 year ago
parent
commit
8a9b161e78
Signed by: etu GPG Key ID: D57EFA625C9A925F
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      repl.php

+ 2
- 0
repl.php View File

@@ -21,6 +21,8 @@ $httpClient = new \GuzzleHttp\Client([
]);

while (true) {
echo PHP_EOL.'> ';

// Read user input
$line = trim(strtolower(fgets(STDIN)));



Loading…
Cancel
Save