1--TEST--
2Cannot use constructor promotion with variadic parameter
3--FILE--
4<?php
5
6class Test {
7 public function __construct(public string ...$strings) {}
8}
9
10?>
11--EXPECTF--
12Fatal error: Cannot declare variadic promoted property in %s on line %d
13