Mantis - Quercus
Viewing Issue Advanced Details
3183 minor always 12-16-08 16:04 12-16-08 18:40
koreth  
nam  
normal  
closed 4.0.0  
fixed  
none    
none 4.0.0  
0003183: $GLOBALS implicit arrays disappear in compiled mode
<?php
$GLOBALS['foo']['bar']['baz'] = 1;
print $GLOBALS['foo']['bar']['baz'];

This prints "1" in interpreted mode and in Zend PHP, and nothing in compiled mode.

Notes
(0003661)
koreth   
12-16-08 16:04   
The real-world case for this uses $GLOBALS in a function, if that matters.
(0003662)
nam   
12-16-08 18:40   
php/3491