Test call by dereferencing array.
The build was successful. Details

This commit is contained in:
Rafal Kupiec 2019-04-05 09:22:47 +02:00
parent 4d07a10336
commit afe978e366
Signed by: belliash
GPG Key ID: 4E829243E0CFE6B4
2 changed files with 3 additions and 0 deletions

View File

@ -9,10 +9,12 @@ class Program {
}
void main() {
callback[] $constr = {'print'};
print($this->testArray()['Machine'] + "\n");
$this->testCallback()['callme']();
print(true ? "TRUE\n" : false ? "true\n" : "false\n");
(void(string $name) { print("This should work too - $name.\n");})('AerScript');
$constr[0]('Test finished.' + "\n");
}
}

View File

@ -2,3 +2,4 @@ Turing
Hello world
TRUE
This should work too - AerScript.
Test finished.