1--TEST--
2Property hooks cannot have explicitly visibility
3--FILE--
4<?php
5
6class Test {
7    private $prop {
8        public get;
9    }
10}
11
12?>
13--EXPECTF--
14Fatal error: Cannot use the public modifier on a property hook in %s on line %d
15