To make the serialized string into a PHP value again, use unserialize(). serialize() handles all types, except the resource -type.
serialize() returns a string containing a byte-stream representation of value that can be stored anywhere.