Q. Which PHP function is used to serialize a variable?
β
Correct Answer: (A)
serialize()
Explanation: serialize() converts a variable into a storable representation.