Annotation of embedaddon/php/Zend/tests/errmsg_018.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: errmsg: static abstract function
! 3: --FILE--
! 4: <?php
! 5:
! 6: class test {
! 7: static abstract function foo ();
! 8: }
! 9:
! 10: echo "Done\n";
! 11: ?>
! 12: --EXPECTF--
! 13: Strict Standards: Static function test::foo() should not be abstract in %s on line %d
! 14:
! 15: Fatal error: Class test contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (test::foo) in %s on line %d
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>