public class Pherialize extends Object
| Modifier and Type | Method and Description |
|---|---|
static String |
serialize(Object object)
Returns the serialized representation of the specified object.
|
static String |
serialize(Object object,
Charset charset)
Returns the serialized representation of the specified object.
|
static Mixed |
unserialize(String data)
Returns the unserialized object of the specified PHP serialize format
string.
|
static Mixed |
unserialize(String data,
Charset charset)
Returns the unserialized object of the specified PHP serialize format
string.
|
public static String serialize(Object object, Charset charset)
object - The object to serializecharset - The charset of data.public static String serialize(Object object)
object - The object to serializepublic static Mixed unserialize(String data, Charset charset)
data - The serialized datacharset - The charset of data.public static Mixed unserialize(String data)
data - The serialized dataCopyright © 2006–2017. All rights reserved.