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