...

View Full Version : PHP OOP - Why do people serialize objects?



johnnnn
02-13-2010, 05: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?

JAY6390
02-13-2010, 05: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

Dormilich
02-13-2010, 07:32 PM
or maybe transferring it to another language.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum