xref: /PHP-8.2/Zend/tests/bug71871.phpt (revision b991ce9c)
1--TEST--
2Bug #71871: Interfaces allow final and abstract functions
3--FILE--
4<?php
5
6interface test {
7    final function test();
8}
9
10?>
11--EXPECTF--
12Fatal error: Interface method test::test() must not be final in %s on line %d
13