Typehinting merge #50

已合并
belliash 2019-04-17 11:27:52 +02:00 将 298 次代码提交从 typehinting合并至 master
修改 2 个文件,包含 29 行新增0 行删除
仅显示提交 b668d0a897 的更改 - 显示所有提交

查看文件

@@ -0,0 +1,23 @@
class Program {
private int test() {
static int $x = 9;
return $x--;
}
public void main() {
int $a;
do {
$a = $this->test();
int $z = $a;
if($z == 6) {
continue;
} else if($z == 3) {
break;
}
print("$z\n");
} while($a);
print("$a\n");
}
}

查看文件

@@ -0,0 +1,6 @@
9
8
7
5
4
3