Test for implicitly typed declarations.
所有检测均成功
The build was successful.

这个提交包含在:
2019-06-15 23:44:10 +02:00
父节点 ace4d56d7f
当前提交 fffce10ba8
共有 2 个文件被更改,包括 32 次插入0 次删除

查看文件

@@ -0,0 +1,23 @@
class Test {
}
class Program {
public void test() {
static auto $r = 3;
$r++;
var_dump($r);
}
public void main() {
auto $a = 'test string';
auto $b = new Test();
auto $c = 6.5;
auto $d = true;
auto $e = NULL;
for(auto $i = 0; $i < 3; $i++) {
$this->test();
}
var_dump($a, $b, $c, $d, $e);
}
}

查看文件

@@ -0,0 +1,9 @@
int(4)
int(5)
int(6)
string(11 'test string')
object(Test) {
}
float(6.5)
bool(TRUE)
void(NULL)