summaryrefslogtreecommitdiff
path: root/Zend/tests/inter_007.phpt
blob: 13b18883b1c429ceffa6014a47ff7f31b7bb1ef7 (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: Cannot make non static method c::B() static in class d in %s on line %d