1--TEST--
2It's possible to add additional optional arguments with matching signature
3--FILE--
4<?php
5
6interface DB {
7    public function query($query, string ...$params);
8}
9
10class MySQL implements DB {
11    public function query($query, string $extraParam = null, string ...$params) { }
12}
13
14?>
15===DONE===
16--EXPECT--
17===DONE===
18