Home > Article > Backend Development > I use strings stored in blobs, so how does PHP convert them into strings when reading?
Problems encountered when storing session_data of session
Problems encountered when storing session_data of session
When used before, it was used as text. As long as it was an array or something, it was converted into json and saved first. The usage is no different from text.
blob can only store (non-character) binary data, and its use is no different from ordinary strings. Because PHP strings are binary safe, any binary data can be stored.