How to use php serialize() and unserialize()

后端 未结 10 1890
Happy的楠姐
Happy的楠姐 2020-11-22 05:03

My problem is very basic.

I did not find any example to meet my needs as to what exactly serialize() and unserialize() mean in php? They ju

10条回答
  •  盖世英雄少女心
    2020-11-22 05:47

    preg_match_all('/\".*?\"/i', $string, $matches);
    foreach ($matches[0] as $i => $match) $matches[$i] = trim($match, '"');
    
    

提交回复
热议问题