1--TEST--
2Cases where non-variadic parameters are allowed to be subsumed by a variadic one
3--FILE--
4<?php
5
6class A {
7    public function test1($a, $b) {}
8    public function test2(int $a, int $b) {}
9    public function test3(int $a, int $b) {}
10    public function test4(int $a, string $b) {}
11    public function test5(&$a, &$b) {}
12}
13
14class B extends A {
15    public function test1(...$args) {}
16    public function test2(...$args) {}
17    public function test3(int ...$args) {}
18    public function test4(int|string ...$args) {}
19    public function test5(&...$args) {}
20}
21
22?>
23===DONE==
24--EXPECT--
25===DONE==
26