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 is the current stable version of php?
Is php an oop?
Which is correct about mysqli and pdo?
What distinguishes php from something like client side java script?
What is the functionality of the functions strstr() and stristr()?
How to create a text file in PHP?
What is form action php?
Tell me what is the difference between ereg_replace() and eregi_replace()?
Can you specify the "new line" character in single-quoted strings?
for image work which library?
Do you have to initialize variables in php?
What’s the difference between htmlentities() and htmlspecialchars()?
What is difference between get and post in php?
Write a program to find a string is palindrome or not?
Why we use get in php?