1--TEST--
2Named params in attributes: Positional after named error
3--FILE--
4<?php
5
6#[Attribute]
7class MyAttribute { }
8
9#[MyAttribute(a: 'A', 'B')]
10class Test {}
11
12?>
13--EXPECTF--
14Fatal error: Cannot use positional argument after named argument in %s on line %d
15