|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-07-30 10:44 UTC] bolk at hitv dot ru
[2005-07-30 15:12 UTC] sniper@php.net
[2005-07-30 20:38 UTC] bolk at hitv dot ru
[2005-08-01 09:49 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 30 08:00:01 2025 UTC |
Description: ------------ I can broke 'GLOBALS' array and 'GLOBALS' items doesn't equal 'GLOBALS' var. Reproduce code: --------------- <? $a = unserialize(serialize($GLOBALS)); $a['GLOBALS'] = 2; $GLOBALS = $a; print_r($GLOBALS['GLOBALS']); ?> Expected result: ---------------- Array ( [GLOBALS] => Array *RECURSION* et cetera Actual result: -------------- 2