Re: unserialize() and pear
| From: | Greg Beaver | Date: | Sat, 11 Sep 2004 16:05:08 +0000 |
| Subject: | Re: unserialize() and pear | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-12739@lists.php.net to get a copy of this message | ||
Nuno Lopes wrote:
> Hello Marcus,
>
> PHP prints an error for every file in /usr/local/lib/php/.registry
> One of those files: http://testes.aborla.net/pear.reg
>
> prints:
> "Notice: unserialize(): Error at offset 121 of 8404 bytes in test.php on
> line 5"
This file is truncated, please verify that it indeed does not start with
a:{
A valid .reg file (for the Cache package) is attached, perhaps you could
use it to test unserialize on your end. I suspect something happened
and a program ate something from your PEAR installation.
Greg