3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = array(array('u'=>123), array('u'=>321)); $ids = array_map('reset', $x); var_dump($ids);
Output for 4.3.0 - 7.1.0
array(2) { [0]=> int(123) [1]=> int(321) }