xref: /PHP-8.3/Zend/tests/traits/bug74607a.phpt (revision 782352c5)
1--TEST--
2Bug #74607 (Traits enforce different inheritance rules - number of required parameters)
3--FILE--
4<?php
5
6abstract class L1{
7abstract function m3($x);
8}
9
10trait L2t{
11function m3($x, $y = 0){}
12}
13
14class L2 extends L1{
15use L2t;
16}
17
18echo "DONE";
19
20?>
21--EXPECT--
22DONE
23