3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $users[923] = 'TelRev'; $users[100] = 'Skellington'; $users[1202] = 'CapnBlack'; $userids = array_keys($users); var_dump($userids); ?>
based on L86vl
Output for 4.3.0 - 7.2.0
array(3) { [0]=> int(923) [1]=> int(100) [2]=> int(1202) }