|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2010-08-07 18:14 UTC] felipe@php.net
-Status: Open
+Status: Feedback
[2010-08-07 18:14 UTC] felipe@php.net
[2010-08-07 18:58 UTC] nick at witthaus dot com
[2010-08-08 00:40 UTC] felipe@php.net
-Status: Feedback
+Status: Bogus
[2010-08-08 00:40 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 10:00:01 2025 UTC |
Description: ------------ There seems to be a crash in 5.3.3 when trying to access the value of a $GLOBALS array variable when there is another $GLOBALS variable is used as an index. This worked in 5.3.2. Test script: --------------- <?php $GLOBALS['foo'] = array('foo0','foo1'); $GLOBALS['bar'] = 0; echo $GLOBALS['foo'][$GLOBALS['bar']]; ?> Expected result: ---------------- I expect to see 'foo0' echoed. Actual result: -------------- Causes a crash in 5.3.3.