1--TEST--
2Missing property initialization for private(set) constructor promoted property
3--FILE--
4<?php
5
6class T {
7    public function __construct(
8        private(set) string $prop,
9    ) {}
10}
11var_dump(new T('Test'));
12
13?>
14--EXPECTF--
15object(T)#%d (1) {
16  ["prop"]=>
17  string(4) "Test"
18}
19