1--TEST--
2Enum unserialize non-existent case
3--FILE--
4<?php
5
6enum Foo {
7    case Bar;
8}
9
10var_dump(unserialize('E:7:"Foo:Baz";'));
11
12?>
13--EXPECTF--
14Warning: unserialize(): Undefined constant Foo::Baz in %s on line %d
15
16Warning: unserialize(): Error at offset 14 of 14 bytes in %s on line %d
17bool(false)
18