--TEST-- BackedEnum::from() reject invalid int --FILE-- getMessage() . "\n"; } ?> --EXPECT-- 2 is not a valid backing value for enum "Foo"