php函数serialize()与unserialize()
serialize()和unserialize()在php手册上的解释是:
serialize — Generates a storable representation of a value
serialize — 产生一个可存储的值的表示
unserialize — Creates a PHP value from a stored representation
unserialize — 从已存储的表示中创建 PHP 的值
实例
打印结果
![](http://images2015.cnblogs.com/blog/1111191/201703/1111191-20170302114150548-1324625113.png)