1--TEST--
2Virtual property cannot have default value
3--FILE--
4<?php
5
6class A {
7    public $prop { get {} set {} }
8}
9
10class B extends A {
11    public $prop = 0 {
12        get {}
13        set {}
14    }
15}
16
17?>
18--EXPECTF--
19Fatal error: Cannot specify default value for virtual hooked property B::$prop in %s on line %d
20