Products
GG网络技术分享 2025-03-18 16:17 1
Error at offset有可能是编码的问题可以自定义函数解决
function diy_unserialize($str){
$str=preg_replace_callback(\'#s:(\\d+):\"(.*?)\";#s\',function($match){return \'s:\'.strlen($match[2]).\':\"\'.$match[2].\'\";\';},$str);
return unserialize($str);
}Demand feedback