summaryrefslogtreecommitdiff
path: root/Zend/tests/inter_04.phpt
blob: 0703e3d9bba4fec57206eea238520898a5bcaa85 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Trying declare interface with repeated name of inherited method
--FILE--
<?php 

interface a {
	function b();
}

interface b {
	function b();
}

interface c extends a, b {
}

?>
--EXPECTF--
Fatal error: Can't inherit abstract function b::b() (previously declared abstract in a) in %s on line %d