3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array(); $key = 'oele'; $arr[$key] = 'boele'; $key[1] = 'X'; print_r($arr); var_dump($key);
Output for 4.3.0 - 7.1.0
Array ( [oele] => boele ) string(4) "oXle"