blob: ee62063dafbf1c3e5d315130faec452793d00039 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--TEST--
Trying inherit abstract function twice
--FILE--
<?php
interface d {
static function B();
}
interface c {
function b();
}
class_alias('c', 'w');
interface a extends d, w { }
?>
--EXPECTF--
Fatal error: Can't inherit abstract function c::B() (previously declared abstract in d) in %s on line %d
|