针对以下出现的问题的处理:
1、unserialize(): Error at offset 0 of 1044 bytes
2、unserialize() expects parameter 1 to be string, array given
$value = preg_replace_callback('#s:(\d+):"(.*?)";#s',function($match){return 's:'.strlen($match[2]).':"'.$match[2].'";';},$value);
return unserialize($value);