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