3v4l.org

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