1--TEST--
2Enum unserialize non-enum
3--FILE--
4<?php
5
6class Foo {}
7
8var_dump(unserialize('E:7:"Foo:Bar";'));
9
10?>
11--EXPECTF--
12Warning: unserialize(): Class 'Foo' is not an enum in %s on line %d
13
14Notice: unserialize(): Error at offset 0 of 14 bytes in %s on line %d
15bool(false)
16