1--TEST--
2Prevent abstract and final in the same class declaration
3--FILE--
4<?php
5
6final abstract class C {
7    private function priv() { }
8}
9
10?>
11--EXPECTF--
12Fatal error: Cannot use the final modifier on an abstract class in %s on line %d
13