Update your browser or use a current version of Chrome, Edge, Firefox or Safari.
PHP serialization is a byte-counted text format for scalar values, arrays, and objects. It differs from JSON in syntax, string length rules, references, and object metadata.
Server-side object unserialization may load classes and trigger magic methods. This browser parser rejects object and reference tokens and supports only inert common data types.
JSON is language-neutral and broadly interoperable. PHP serialization is useful for compatibility with existing PHP data, but should not be accepted from untrusted sources by application code.
No PHP runtime, autoloader, constructor, wakeup, or unserialize hook exists.
Yes. Serialized string lengths are calculated in UTF-8 bytes rather than JavaScript character units.