serialize()
serialize(string $args = array()) : boolean
CACHE_SERIALIZATION $args["DATA"] = [STRING/ARRAY/OBJECT] passed to serialization method $args["CACHE_SERIALIZATION"] = [JSON/NATIVE/RAW] JSON - json_encode($args["DATA"]) NATIVE - serialize($args["DATA"]) RAW - [string] $args["UNSERIALIZE_TYPE"] = [def:ARRAY/OBJECT/RAW(string)] for implementations that leverage JSON data and use json_decode ( string $json [, bool $assoc = false].
..)
Parameters
string | $args |