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
Tell us how to redirect a page in php?
What is apache and php?
How to make a class in php?
How long does a php session last for?
What is php beginner?
Tell me what is the use of "enctype" attribute in a html form?
What is helper library?
What is the correct syntax of mail() function in php?
How can we display the output directly to the browser?
What is a variable cost example?
How to return a value back to the function caller?
What is difference between array_merge and array_combine in php?
Is php a case sensitive language?
How do you measure variables?
What are the environmental variables?