[php] $ay=array("name"=>"jeff","age"=>"18");//原始陣列 $s = serialize($ay); echo $s;//序列化產生的字串 echo ' '; print_r(unserialize($s));//反序列化後的陣列
確定! 回上一頁