|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-09-16 07:33 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 03:00:01 2025 UTC |
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