Annotation of embedaddon/php/Zend/tests/inter_007.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Trying inherit abstract function twice
! 3: --FILE--
! 4: <?php
! 5:
! 6: interface d {
! 7: static function B();
! 8: }
! 9:
! 10: interface c {
! 11: function b();
! 12: }
! 13:
! 14: class_alias('c', 'w');
! 15:
! 16: interface a extends d, w { }
! 17:
! 18: ?>
! 19: --EXPECTF--
! 20: Fatal error: Cannot make non static method c::B() static in class d in %s on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>