php-src/Zend/tests/inter_007.phpt

21 lines
291 B
Plaintext
Raw Normal View History

2008-08-25 19:35:10 +00:00
--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--
2011-11-19 18:01:26 +00:00
Fatal error: Cannot make non static method c::B() static in class d in %s on line %d