1--TEST--
2Variadic arguments must have compatible passing modes
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