View Full Version : PHP OOP - Why do people serialize objects?
02-13-2010, 06:05 PM
I was reading the manual at php.net, and I'm wondering why do people serialize object? What's the purpose? Why do they do this?
02-13-2010, 06:29 PM
Serialization is used for easily storing an objects current state for use at a later time, such as passing an object between sessions, saving it into a database table and so on
02-13-2010, 08:32 PM
or maybe transferring it to another language.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.