(PHP 5 >= 5.1.0, PHP 7, PHP 8)
Serializable::serialize — String representation of object
public Serializable::serialize(): ?string
Should return the string representation of the object.
This function has no parameters.
Returns the string representation of the object or null
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/serializable.serialize.php