summaryrefslogtreecommitdiff
path: root/Zend/tests/traits/bug74607a.phpt
blob: 8ef3076fd653c7bc6212788fb9382a16bccaa03e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--TEST--
Bug #74607 (Traits enforce different inheritance rules - number of required parameters)
--FILE--
<?php

abstract class L1{
abstract function m3($x);
}

trait L2t{
function m3($x, $y = 0){}
}

class L2 extends L1{
use L2t;
}

echo "DONE";

?>
--EXPECT--
DONE