3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array['a']['b']['c'] = 'value of c'; $coordinates_for_c_key = "['a']['b']['c']"; $array{$coordinates_for_c_key} = 'new value of c'; print $array{$coordinates_for_c_key};

This is an error 404

There are `0` results


preferences:
145.11 ms | 1403 KiB | 7 Q