3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a{'apple'} = "red"; $a{'barrel'} = "wide"; print_r($a);
based on Onpe5
Output for 4.3.0 - 7.1.0
Array ( [apple] => red [barrel] => wide )