summaryrefslogtreecommitdiff
path: root/Zend/tests/objects_018.phpt
blob: 5a24f4d42bf68fbed1243cbd2f6ff750ef0c9b74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--TEST--
Using the same function name on interface with inheritance
--FILE--
<?php

interface Itest {
	function a();
}

interface Itest2 {
	function a();
}

interface Itest3 extends Itest, Itest2 {
}

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