serialize() serialize(array $nodes) : string Serializes statements into some string format. Parameters array $nodes Statements Returns string — Serialized string