Basic REPL

This commit is contained in:
2018-12-19 20:50:37 +00:00
parent 20db1d6893
commit b282d3f851
2 changed files with 32 additions and 1 deletions

View File

@@ -1,2 +1,16 @@
<?php
echo "Hello world of PHP CLI!";
// Placeholder Globals
$userid = 0;
$room_lang = "th";
$is_admin = false;
define("BLUE_ROOM", 12345);
define("RED_ROOM", 67890);
define("INTER_ROOM", 111213);
// randomorg($start,$end);
function reply_user($room_id, $msgid, $message)
{
return $msgid;
}