1--TEST--
2Unknown property hook
3--FILE--
4<?php
5
6class Test {
7    public $prop {
8        foobar {}
9    }
10}
11
12?>
13--EXPECTF--
14Fatal error: Unknown hook "foobar" for property Test::$prop, expected "get" or "set" in %s on line %d
15