mirror of
https://github.com/php/php-src.git
synced 2024-12-18 06:21:41 +08:00
13 lines
237 B
PHP
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
|