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--
12Parse error: syntax error, unexpected token "static", expecting variable in %s on line %d
13