mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
21 lines
291 B
PHP
21 lines
291 B
PHP
--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
|