Código PHP:
<?php
# It's class in really more than a function
function &globals(){
$__dictionary=['apples'=>5,'oranges'=>7,'bananos'=>9];
return $__dictionary;
}
echo globals()['oranges'];
# 7
$x = &globals();
$x['oranges'] = 11;
# deberia cambiar e imprimir 11 pero...
echo globals()['oranges'];
Que hago mal ? gracias