Re: Unserialize bug?
| From: | Leon Mergen | Date: | Thu, 22 May 2003 08:46:33 +0000 |
| Subject: | Re: Unserialize bug? | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148519@lists.php.net to get a copy of this message | ||
"Jason Wong" <php-general@gremlins.biz> wrote in message
news:200305221257.28872.php-general@gremlins.biz...
> > basketarray : a:1:{i:23;a:2:{i:0;s:6:\"item14\";i:1;s:6:\"item29\";}}
> Turn on error reporting and you will see that unserialize() does not like
the
> format of $basketarray. It seems that you have backslashes in there which
> shouldn't be there.
That is very strange, though... since that $basketarray is generated by
serialize() . So the bug is in serialize() ?
Grt,
Leon