3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr1 = false; $arr1['foo'] = 'bar'; print_r($arr1);
based on ASITh
Output for 4.3.0 - 7.3.0rc4
Array ( [foo] => bar )