ID:               49565
 Updated by:       j...@php.net
 Reported By:      pierb1971 at yahoo dot com
-Status:           Open
+Status:           Bogus
 Bug Type:         Arrays related
 Operating System: windows vista
 PHP Version:      5.3.0
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php




Previous Comments:
------------------------------------------------------------------------

[2009-09-15 20:51:13] pierb1971 at yahoo dot com

Description:
------------
When comparing (with "===") a reference of an array (which as recursion

inside) with the original array itself, the result is not "equal" value

but display recursion error

Reproduce code:
---------------
$z =& $GLOBALS;
if ($z === $GLOBALS) {
        print 'Equals';
} else {
        print 'Not equals';
}

Expected result:
----------------
Equals

Actual result:
--------------
Fatal error: Nesting level too deep - recursive dependency? in <file 
name> on line <line number>
Fatal error: Nesting level too deep - recursive dependency? in Unknown

on line 0


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=49565&edit=1

Reply via email to