summaryrefslogtreecommitdiff
path: root/Zend/tests/inter_007.phpt
blob: 610210a7da383551d6cca8d2a655b7d486972b0e (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