1--TEST--
2Clash between promoted and explicit property
3--FILE--
4<?php
5
6class Test {
7    public $prop;
8
9    public function __construct(public $prop) {}
10}
11
12?>
13--EXPECTF--
14Fatal error: Cannot redeclare Test::$prop in %s on line %d
15