DEFAULT_MB_DETECT_ORDER
DEFAULT_MB_DETECT_ORDER = 'auto'
This helper is based on code from Facebook's Phabricator project
https://github.com/facebook/phabricator
Specifically, it is an adaptation of the PhutilReadableSerializer class.
serialize(mixed $value, integer $max_depth = 3, integer $_depth) : string|boolean|double|integer|null|object|array
Serialize an object (recursively) into something safe for data sanitization and encoding.
mixed | $value | |
integer | $max_depth | |
integer | $_depth |
setMbDetectOrder(string $mb_detect_order) : \Raven_Serializer
string | $mb_detect_order |