我希望能夠做到以下幾點:如何在PHP中的數組內使用數組引用?
$normal_array = array();
$array_of_arrayrefs = array(&$normal_array);
// Here I want to access the $normal_array reference **as a reference**,
// but that doesn't work obviously. How to do it?
end($array_of_arrayrefs)["one"] = 1; // choking on this one
print $normal_array["one"]; // should output 1
問候
/R