php-src/Zend/tests/inter_04.phpt

20 lines
304 B
Plaintext
Raw Normal View History

2008-05-11 22:44:56 +00:00
--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