1--TEST--
2Attribute name cannot be a variable
3--FILE--
4<?php
5
6#[$x]
7class A {}
8
9?>
10--EXPECTF--
11Parse error: syntax error, unexpected variable "$x" in %s on line %d
12