Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Serialize/Unserialize behavior inconsistent with the extension #61

Open
yurahaid opened this issue Apr 26, 2020 · 0 comments
Open

Serialize/Unserialize behavior inconsistent with the extension #61

yurahaid opened this issue Apr 26, 2020 · 0 comments

Comments

@yurahaid
Copy link

yurahaid commented Apr 26, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant