1Attributes
2-----
3<?php
4
5#[
6    A1,
7    A2(),
8    A3(0),
9    A4(x: 1),
10]
11function a() {
12}
13
14#[A5]
15class C {
16    #[A6]
17    public function m(
18        #[A7] $param,
19    ) {}
20    #[A12]
21    public $prop;
22}
23
24#[A8]
25interface I {}
26#[A9]
27trait T {}
28
29$x = #[A10] function() {};
30$y = #[A11] fn() => 0;
31new #[A13] class {};
32-----
33#[A1, A2, A3(0), A4(x: 1)]
34function a()
35{
36}
37#[A5]
38class C
39{
40    #[A6]
41    public function m(#[A7] $param)
42    {
43    }
44    #[A12]
45    public $prop;
46}
47#[A8]
48interface I
49{
50}
51#[A9]
52trait T
53{
54}
55$x = #[A10] function () {
56};
57$y = #[A11] fn() => 0;
58new #[A13] class
59{
60};