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

table column 'cartData' can't save serialize() data #31

Open
iridance opened this issue Mar 16, 2019 · 0 comments
Open

table column 'cartData' can't save serialize() data #31

iridance opened this issue Mar 16, 2019 · 0 comments

Comments

@iridance
Copy link
Contributor

iridance commented Mar 16, 2019

Returns a string containing a byte-stream representation of value that can be stored anywhere.

Note that this is a binary string which may include null bytes, and needs to be stored and handled as such. For example, serialize() output should generally be stored in a BLOB field in a database, rather than a CHAR or TEXT field.

reference php.net

The cartData column may change the type to blob or be processed to base64_encode/base64_decode before serialize/unserialize

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