Test call by dereferencing array.
已通過所有檢查
The build was successful.

This commit is contained in:
Rafal Kupiec 2019-04-05 09:22:47 +02:00
父節點 4d07a10336
當前提交 afe978e366
簽署人: belliash
GPG 金鑰 ID: 4E829243E0CFE6B4
共有 2 個檔案被更改,包括 3 行新增0 行删除

查看文件

@ -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");
}
}

查看文件

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