1--TEST--
2Property cannot be both final and private
3--FILE--
4<?php
5
6class Test {
7    final private $prop;
8}
9
10?>
11--EXPECTF--
12Fatal error: Property cannot be both final and private in %s on line %d
13