3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $keys = array('mesic', 'den', 'hodina'); $row = array('1988'); $hlp = &$row['1988']; foreach($keys as $key) { $hlp[$key] = array(); $hlp = &$hlp[$key]; }
Output for 4.3.0 - 7.2.0