Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:12740 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 13136 invoked by uid 1010); 11 Sep 2004 16:13:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 13044 invoked from network); 11 Sep 2004 16:13:32 -0000 Received: from unknown (HELO sapo.pt) (212.55.154.25) by pb1.pair.com with SMTP; 11 Sep 2004 16:13:32 -0000 Received: (qmail 5519 invoked from network); 11 Sep 2004 16:13:31 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.155) by relay5 with SMTP; 11 Sep 2004 16:13:31 -0000 Received: (qmail 27052 invoked from network); 11 Sep 2004 16:10:11 -0000 Received: from unknown (HELO pc07653) (nunoplopes@sapo.pt@[81.193.187.151]) (envelope-sender ) by mta5 (qmail-ldap-1.03) with SMTP for ; 11 Sep 2004 16:10:11 -0000 Message-ID: <012501c4981a$ce58bc30$0100a8c0@pc07653> To: "Greg Beaver" Cc: "PHPdev" , "Marcus Boerger" References: <009201c49765$f4d494c0$0100a8c0@pc07653> <158434281.20040910233218@marcus-boerger.de> <00e801c49816$09076ac0$0100a8c0@pc07653> <41432234.7050503@php.net> Date: Sat, 11 Sep 2004 17:17:16 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] unserialize() and pear From: nlopess@php.net ("Nuno Lopes") > 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 It doesn't work also with your file: "Notice: unserialize(): Error at offset 26 of 5366 bytes in test2.php on line 4" Nuno