As per #22381, storing objects in options can cause errors as the option value is not serialized, leading to
__PHP_Incomplete_Class when loading from cache.
rboren has indicated that passing the unserialized value into the object cache is the correct behaviour, so this needs to be serialized on the APC end instead. I'm not sure what the best way to do this is (only when the group is
options?) without introducing significant overhead.