0
5

Test complex expressions one more time.
Alle Prüfungen waren erfolgreich
The build was successful.

Dieser Commit ist enthalten in:
Rafal Kupiec 2019-04-10 19:41:48 +02:00
Ursprung 57c6b3483a
Commit 493fcd0e92
Signiert von: belliash
GPG-Schlüssel-ID: 4E829243E0CFE6B4
2 geänderte Dateien mit 28 neuen und 0 gelöschten Zeilen

Datei anzeigen

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

Datei anzeigen

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