serialize()
serialize(mixed $data) : String
Calling this executes the serialization. The return type is noted as a String, but is a binary stream. echo it to the output buffer
Parameters
mixed | $data | the data to serialize. |
interface for serializers.