Re: serialize bug with array that references to itself?
| From: | Francisco M. Marzoa Alonso | Date: | Wed, 03 Nov 2004 17:43:11 +0000 |
| Subject: | Re: serialize bug with array that references to itself? | ||
| References: | 1 2 3 4 5 6 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-13713@lists.php.net to get a copy of this message | ||
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