1--TEST--
2Named params in attributes: Duplicate named parameter error
3--FILE--
4<?php
5
6#[MyAttribute(a: 'A', a: 'A')]
7class Test {}
8
9?>
10--EXPECTF--
11Fatal error: Duplicate named parameter $a in %s on line %d
12