Add TextWriter, IOException, per-VM module data and pre-load imports; Add console module with Console class
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
import 'console';
|
||||
class Program {
|
||||
|
||||
private void test(int $a = (int(int $a, int $b, int $c){return $a+$b+$c;})(14, 10+2, 15), int $b = 0, int $c = 98) {
|
||||
print($a + PHP_EOL);
|
||||
print($b + PHP_EOL);
|
||||
print($c + PHP_EOL);
|
||||
Console::Print($a + PHP_EOL);
|
||||
Console::Print($b + PHP_EOL);
|
||||
Console::Print($c + PHP_EOL);
|
||||
}
|
||||
|
||||
public void main() {
|
||||
|
||||
Reference in New Issue
Block a user