1--TEST--
2#[AllowDynamicProperties] cannot be applied to trait
3--FILE--
4<?php
5
6#[AllowDynamicProperties]
7trait Test {}
8
9?>
10--EXPECTF--
11Fatal error: Cannot apply #[AllowDynamicProperties] to trait Test in %s on line %d
12