3 class WithConstrPropWithUserAttr
{
4 public function __construct
(<<\MyUserAttr
('blah')>> private
int $i
) {
5 throw new \Exception
();
9 function with_constr_prop_with_user_attr
(): void
{
10 $_
= new WithConstrPropWithUserAttr
(2);
13 final class MyUserAttr
17 \HH\TypeAliasAttribute
,
19 \HH\FunctionAttribute
,
20 \HH\InstancePropertyAttribute
,
21 \HH\StaticPropertyAttribute
,
22 \HH\ParameterAttribute
,
23 \HH\TypeParameterAttribute
,
24 \HH\TypeConstantAttribute
{
25 public function __construct
(string $first
, string ...$remainder
)[] {
26 throw new \Exception
();