php-src/Zend/tests/inter_007.phpt
2008-08-25 19:36:01 +00:00

21 lines
311 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: Can't inherit abstract function c::B() (previously declared abstract in d) in %s on line %d