Typehinting merge #50

已合併
belliash 2019-04-17 11:27:52 +02:00 將 298 次代碼提交從 typehinting合併至 master
共有 2 個文件被更改,包括 28 次插入0 次删除
Showing only changes of commit 493fcd0e92 - Show all commits

查看文件

@ -0,0 +1,16 @@
class Program {
void test(int $a = (int(int $a, int $b, int $c){return $a+$b+$c;})(14, 10+2, 15), int $b = 0, int $c = 98) {
print($a + PHP_EOL);
print($b + PHP_EOL);
print($c + PHP_EOL);
}
void main() {
$this->test();
$this->test(512);
$this->test(1024, 32);
$this->test(1000, 2000, 4000);
}
}

查看文件

@ -0,0 +1,12 @@
41
0
98
512
0
98
1024
32
98
1000
2000
4000