1--TEST--
2Enum unserialize same instance
3--FILE--
4<?php
5
6enum Foo {
7    case Bar;
8}
9
10var_dump(Foo::Bar === unserialize(serialize(Foo::Bar)));
11
12?>
13--EXPECT--
14bool(true)
15