summaryrefslogtreecommitdiff
path: root/Zend/tests/bug71871_2.phpt
blob: 6a9404ea37d9e7785ea0190d6f19d2d1c9ec1283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--TEST--
Bug #71871: Interfaces allow final and abstract functions
--FILE--
<?php

interface test {
    abstract function test();
}

?>
--EXPECTF--
Fatal error: Access type for interface method test::test() must be omitted in %s on line %d