Test call by dereferencing array.
The build was successful.
Details
The build was successful.
Details
This commit is contained in:
parent
4d07a10336
commit
afe978e366
|
@ -9,10 +9,12 @@ class Program {
|
||||||
}
|
}
|
||||||
|
|
||||||
void main() {
|
void main() {
|
||||||
|
callback[] $constr = {'print'};
|
||||||
print($this->testArray()['Machine'] + "\n");
|
print($this->testArray()['Machine'] + "\n");
|
||||||
$this->testCallback()['callme']();
|
$this->testCallback()['callme']();
|
||||||
print(true ? "TRUE\n" : false ? "true\n" : "false\n");
|
print(true ? "TRUE\n" : false ? "true\n" : "false\n");
|
||||||
(void(string $name) { print("This should work too - $name.\n");})('AerScript');
|
(void(string $name) { print("This should work too - $name.\n");})('AerScript');
|
||||||
|
$constr[0]('Test finished.' + "\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,3 +2,4 @@ Turing
|
||||||
Hello world
|
Hello world
|
||||||
TRUE
|
TRUE
|
||||||
This should work too - AerScript.
|
This should work too - AerScript.
|
||||||
|
Test finished.
|
||||||
|
|
Loading…
Reference in New Issue