polyfill
polyfill copied to clipboard
Serialize/Unserialize behavior inconsistent with the extension
HI there!
When extension is enabled:
serialize(new Ds\Set()); // result - 'C:6:"Ds\Set":0:{}'
when extension is disabled
serialize(new Ds\Set()); // result - 'O:6:"Ds\Set":1:{s:13:" Ds\Set table";O:6:"Ds\Map":2:{s:13:" Ds\Mappairs";a:0:{}s:16:" Ds\Map capacity";i:8;}}'
And if serialize data when extension is enabled and unserialize when extension is disabled(or opposite) i have warning Warning: Class Ds\Set has no unserializer