xref: /PHP-8.3/Zend/tests/inter_007.phpt (revision f8d79582)
1--TEST--
2Trying inherit abstract function twice
3--FILE--
4<?php
5
6interface d {
7    static function B();
8}
9
10interface c {
11    function b();
12}
13
14class_alias('c', 'w');
15
16interface a extends d, w { }
17
18?>
19--EXPECTF--
20Fatal error: Cannot make non static method c::B() static in class d in %s on line 4
21