1--TEST--
2Hooked properties with no default value are initialized to null
3--FILE--
4<?php
5
6class Test {
7 public $prop {
8 get => $this->prop;
9 set => $value;
10 }
11}
12
13$test = new Test;
14var_dump($test->prop);
15
16?>
17--EXPECT--
18NULL
19