php-src/Zend/tests/inter_04.phpt
2008-05-11 22:44:56 +00:00

20 lines
304 B
PHP

--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