serialize/unserialize 序列化

serialize:序列化数组或者类

例子:{s:8:"order_id";s:15:"200827235018106";s:11:"order_money";s:4:"10.0";s:13:"order_payment";s:7:"mimipay";s:18:"order_payment_name";s:12:"123123";}

unserialize:反序列化数组或者类

Array ( [order_id] => 200827235018106 [order_money] => 10.0 [order_payment] => mimipay [order_payment_name] => 123123 )

Jsky博客
请先登录后发表评论
  • 最新评论
  • 总共0条评论