1--TEST--
2Constructor promotion only permits visibility modifiers
3--FILE--
4<?php
5
6class Test {
7    public function __construct(public static $x) {}
8}
9
10?>
11--EXPECTF--
12Fatal error: Cannot use the static modifier on a parameter in %s on line %d
13