1 2 3 4 5 6 7 8 9 10 11 12 13 14
--TEST-- Enum serialize --FILE-- <?php enum Foo { case Bar; } echo serialize(Foo::Bar); ?> --EXPECT-- E:7:"Foo:Bar";