php-src/Zend/tests/bug71871.phpt
2016-03-21 22:49:18 +01:00

13 lines
237 B
PHP

--TEST--
Bug #71871: Interfaces allow final and abstract functions
--FILE--
<?php
interface test {
final function test();
}
?>
--EXPECTF--
Fatal error: Access type for interface method test::test() must be omitted in %s on line %d