You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

19 lines
304 B

--TEST--
Trying declare interface with repeated name of inherited method
--FILE--
<?php
interface a {
function b();
}
interface b {
function b();
}
interface c extends a, b {
}
?>
--EXPECTF--
Fatal error: Can't inherit abstract function b::b() (previously declared abstract in a) in %s on line %d