3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = [ [1, 'Tom'], [2, 'Fred'], ]; foreach ($data as [$id, $name]) { echo $id, $name,"\n"; }