function mb_unserialize($serial_str) { $serial_str= preg_replace(‘!s:(\d+):"(.*?)";!se‘, "‘s:‘.strlen(‘$2‘).‘:\"$2\";‘", $serial_str ); $serial_str= str_replace("\r", "", $serial_str); }
标签:log blog span replace str fun 返回 div 序列
function mb_unserialize($serial_str) { $serial_str= preg_replace(‘!s:(\d+):"(.*?)";!se‘, "‘s:‘.strlen(‘$2‘).‘:\"$2\";‘", $serial_str ); $serial_str= str_replace("\r", "", $serial_str); }
标签:log blog span replace str fun 返回 div 序列
原文地址:https://www.cnblogs.com/scy152417/p/8274313.html