fb_serialize

Serialize data into a compact format that can be unserialized by fb_unserialize()

function fb_serialize(
  mixed $thing,
  int $options = 0,
): mixed;

Parameters

  • mixed $thing - What to serialize. Note that objects are not supported.
  • int $options = 0

Returns

  • mixed - - Serialized data.