3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
mak<?php $data = array( 0, 1, 2 ); var_export( array_keys($data) );
based on WcUVq
Output for 4.3.0 - 7.1.0
makarray ( 0 => 0, 1 => 1, 2 => 2, )