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