2019-04-10 19:41:48 +02:00
|
|
|
class Program {
|
|
|
|
|
2019-05-17 08:40:41 +02:00
|
|
|
private 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) {
|
2019-04-10 19:41:48 +02:00
|
|
|
print($a + PHP_EOL);
|
|
|
|
print($b + PHP_EOL);
|
|
|
|
print($c + PHP_EOL);
|
|
|
|
}
|
|
|
|
|
2019-05-17 08:40:41 +02:00
|
|
|
public void main() {
|
2019-04-10 19:41:48 +02:00
|
|
|
$this->test();
|
|
|
|
$this->test(512);
|
|
|
|
$this->test(1024, 32);
|
|
|
|
$this->test(1000, 2000, 4000);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|