1--TEST-- 2Additional optional parameters must have a matching prototype 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, int $extraParam = null, string ...$params) { } 12} 13 14?> 15--EXPECTF-- 16Fatal error: Declaration of MySQL::query($query, int $extraParam = NULL, string ...$params) must be compatible with DB::query($query, string ...$params) in %s on line %d 17