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