adspace


What is used of
serialize and
unserialize in php?

Answer Posted / Abhishek Upahyay

In PHP, serialize() is a function that converts the given variable into a form that can be stored in a string or written to a file. It's useful for storing complex data structures like objects or arrays for later use or storage. On the other hand, unserialize() is a function that converts a serialized string back into a PHP value. This is the opposite operation of serialize(). Both functions are essential when working with complex data structures in PHP.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

No New Questions to Answer in this Category !!    You can

Post New Questions

Answer Questions in Different Category