Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:13713 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34062 invoked by uid 1010); 3 Nov 2004 16:39:44 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 33580 invoked from network); 3 Nov 2004 16:39:37 -0000 Received: from unknown (HELO mail.gmx.net) (213.165.64.20) by pb1.pair.com with SMTP; 3 Nov 2004 16:39:37 -0000 Received: (qmail 5263 invoked by uid 65534); 3 Nov 2004 16:39:36 -0000 Received: from 55.Red-213-4-20.pooles.rima-tde.net (EHLO [10.10.0.21]) (213.4.20.55) by mail.gmx.net (mp005) with SMTP; 03 Nov 2004 17:39:36 +0100 X-Authenticated: #12441595 Message-ID: <418918AF.6030707@gmx.net> Date: Wed, 03 Nov 2004 18:43:11 +0100 User-Agent: Mozilla Thunderbird 0.8 (X11/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrey Hristov , internals References: <4188DEC8.5060309@gmx.net> <4188DDC9.30000@hristov.com> <4189013F.2050104@gmx.net> <4188F4CC.6000902@hristov.com> <41890B41.5020703@gmx.net> <41890169.1020107@hristov.com> In-Reply-To: <41890169.1020107@hristov.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] serialize bug with array that references to itself? From: fmmarzoa@gmx.net ("Francisco M. Marzoa Alonso") I think I understand the reason because I obtain that output, but I cannot figure out the motivations for doing it in that way. I should probably take a look at ZE sources. Thx. a lot by your help. Andrey Hristov wrote: > Well, when there is traversion inside the engine, it checks whether > it has > processed a "node" already several times. As far as I remember the > threshold > is 3. So once it goes over $Arr, the counter increases to 1, the > second time > to 2 and third time it is 3 and ZE reports recursion. > > HTH, > Andrey >