0

i am trying to unserialize() this string a:2:{i:0;s:6:"Plzeň";i:1;s:5:"Jiné";}

Code is as simple as it can be:

var_dump(unserialize('a:2:{i:0;s:6:"Plzeň";i:1;s:5:"Jiné";}'));

However I get an error:

Notice: unserialize(): Error at offset 20 of 37 bytes in response is:

bool(false)

I already check some articles and other post here in stackoverflow but I dont have any slashes or other things which were recomanded to remove before unserialize. If I unserialize online on page : https://www.functions-online.com/unserialize.html it return correct values. Can someone help me with this?

Andurit
  • 5,612
  • 14
  • 69
  • 121

0 Answers0