<p>I want to be able to do the following:</p>

<pre><code>$normal_array       = array();
$array_of_arrayrefs = array( &amp;$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
</code></pre>

<p>Regards</p>

<p>/R</p>

The line:
end( $array_of_arrayrefs )["one"] = 1; // choking on this one
throws a parse error:
Parse error: syntax error, unexpected '[' in /file.php on line 65
Make sure you have
```
error_reporting
```
and
```
display_error
```
activated.
I'm not sure what you want to do but this works:
```
```
$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?
$array_of_arrayrefs[0]["one"] = 1;
//end($array_of_arrayrefs )["one"] = 1; // choking on this one
print $normal_array["one"]; // should output 1
```
```