1 2 3 4 5 6 7 8 9 10 11 12
--TEST-- Enum disallows static properties --FILE-- <?php enum Foo { public static $bar; } ?> --EXPECTF-- Fatal error: Enums may not include properties in %s on line %d