Name
serialize
Synopsis
string serialize(mixed value
)
Returns a string containing a binary data representation of
value
. This string can be used to store the
data in a database or file, for example, and later restored using
unserialize()
. Except for
resources, any kind of value can be serialized.
Get Programming PHP, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.