3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $t = array( array('target_id' => 5), array('target_id' => 6), ); $t = array_map('reset', $t); print_r($t);
Output for 4.3.0 - 7.1.7
Array ( [0] => 5 [1] => 6 )