3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = [ 'totals' => [ [ 'code' => 'cod', 'title' => 'Total (with UDS Game)', 'value' => 1565, 'sort_order' => 9 ] ] ]; foreach($data['totals'] as $total) { var_dump($total); }
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.3.0alpha1
array(4) { ["code"]=> string(3) "cod" ["title"]=> string(21) "Total (with UDS Game)" ["value"]=> int(1565) ["sort_order"]=> int(9) }