3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(); $b = &$a['asdf']; $b = 4; print_r($a);
based on 71ArH
Output for 4.3.0 - 7.1.0
Array ( [asdf] => 4 )