#35277 [Opn->Asn]: incorrect recursion detection

From: Date: Fri, 18 Nov 2005 14:55:43 +0000
Subject: #35277 [Opn->Asn]: incorrect recursion detection
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-88476@lists.php.net to get a copy of this message
ID: 35277 Updated by: tony2001@php.net Reported By: lsmith@php.net -Status: Open +Status: Assigned Bug Type: Arrays related Operating System: windows xp sp2 PHP Version: 5.1.0RC6 -Assigned To: +Assigned To: dmitry New Comment: Dmitry, please take care of it.. Previous Comments: ------------------------------------------------------------------------ [2005-11-18 15:39:56] lsmith@php.net Description: ------------ PHP 5.1.0 seems to be overly paranoid when trying to detect a recursion. I do not know the internals but I do not think this is a duplicate of http://bugs.php.net/bug.php?id=29389. Reproduce code: --------------- $a = array(); $a[] = $a; var_dump($a); Expected result: ---------------- array(1) { [0]=> array(0) { } } Actual result: -------------- array(1) { [0]=> array(1) { [0]=> *RECURSION* } } ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35277&edit=1

« previous php.bugs (#88476) next »