Answer Posted / sloog
Serializing an object means converting it to a bytestream
representation that can be stored in a file. This is useful
for persistent data; for example, PHP sessions automatically
save and restore objects. Serializatioin in PHP is
mostly automatic--it requires little extra work from you,
beyond calling the serialize() and unserialize() functions:
$encoded = serialize(something);
$something - unserialize(encoded);
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What does php mean?
What is move_uploaded_file in php?
Does php support overloading?
What is the difference between Session and Cookie?
What is the difference between characters 34 and x34?
How be the result set of mysql handled in php?
Why is php used for web development?
With a heredoc syntax, do I get variable substitution inside the heredoc contents?
What are constructor and destructor in PHP?
What are the benefits of using queries?
What are the ways to define a constant in php?
Tell me how can we determine whether a php variable is an instantiated object of a certain class?
What is properties of class?
Can I learn php without knowing c?
What is php session start?