Annotation of embedaddon/php/Zend/tests/bug32427.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: Bug #32427 (Interfaces are not allowed 'static' access modifier)
! 3: --FILE--
! 4: <?php
! 5:
! 6: interface Example {
! 7: public static function sillyError();
! 8: }
! 9:
! 10: class ExampleImpl implements Example {
! 11: public static function sillyError() {
! 12: echo "I am a silly error\n";
! 13: }
! 14: }
! 15:
! 16: ExampleImpl::sillyError();
! 17: ?>
! 18: --EXPECT--
! 19: I am a silly error
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>