Read Time:17 Second
If serialize string contains ‘&’, then the error occurs when unserialize the string.
unserialize() [function.unserialize]: Error at offset 00000 of 0000 bytes
Simply change ‘&’ to ‘&’, by replacing it.
$string = str_replace('&', '&', $string); $test_array = unserialize($string);