1--TEST--
2It's not possible to turn a variadic function into a non-variadic one
3--FILE--
4<?php
5
6interface DB {
7    public function query($query, ...$params);
8}
9
10class MySQL implements DB {
11    public function query($query, $params) { }
12}
13
14?>
15--EXPECTF--
16Fatal error: Declaration of MySQL::query($query, $params) must be compatible with DB::query($query, ...$params) in %s on line %d
17