blob: 2710abbed9f9439c6e53e3c05f2981d2914f4c04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--TEST--
Attribute name cannot be a variable
--FILE--
<?php
<<$x>>
class A {}
?>
--EXPECTF--
Parse error: syntax error, unexpected variable "$x", expecting identifier or "static" or "namespace" or "\" in %s on line %d
|