How does php serialize work?



How does php serialize work?..

Answer / Rakhi Gupta

PHP's serialization feature allows you to convert complex data structures like objects or arrays into a string, and vice versa. This is achieved using the `serialize()` function for converting PHP data to a string, and `unserialize()` function for converting the string back into PHP data.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What is PHP?

8 Answers  


i want to store retrieved data from database into an array list with limit.And display the data from that array list.have any answer for this?

2 Answers  


What is the use of is_array() and in_array()?

1 Answers  


Which function is used to read a file removing the html and php tags in it upwork?

1 Answers  


How to set session.gc_maxlifetime properly?

1 Answers  


What do you mean by core php?

1 Answers  


What does type casting mean in php? Explain with an example?

1 Answers  


What language is php written in?

1 Answers  


Explain Magento's autoload functionality and how to instantiate classes? What is the process you take when theming a store? Talk about Magento collections and how you use them?

0 Answers  


is php is the best for this situation

2 Answers  


What is a lambda function in php?

1 Answers  


can any one tell how to install LAMP server in terminal in ubuntu.....and also tell please how to run php files in ubunut and how to save and compile in ubuntu..i already installed ubuntu ..but i dont installed lamp server so i want to install lamp server in terminal is it possible please reply

2 Answers  


Categories