Add system module with System class, core native exception helper and remove useless builtins
Build / AerScript (push) Successful in 50s
Build / AerScript (push) Successful in 50s
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'system';
|
||||
import 'console';
|
||||
class Program {
|
||||
|
||||
@@ -16,8 +17,8 @@ class Program {
|
||||
Console::Print("127.0.0.1 ==> $localhost\n");
|
||||
string $router = $this->encode_ip('192.168.2.1');
|
||||
Console::Print("192.168.2.1 ==> $router\n");
|
||||
Console::Print("$localhost ==> " + ($this->decode_ip($localhost) + PHP_EOL));
|
||||
Console::Print("$router ==> " + ($this->decode_ip($router) + PHP_EOL));
|
||||
Console::Print("$localhost ==> " + ($this->decode_ip($localhost) + System::NEW_LINE));
|
||||
Console::Print("$router ==> " + ($this->decode_ip($router) + System::NEW_LINE));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user