3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $arr = array ( 0 => array ( 'this' => 3, // instead 0 => 3, 'name' => 'three', ), 1 => array ( 'this' => 5, // instead 0 => 5, 'name' => 'five', ), 2 => array ( 'this' => 7, // instead 0 => 7, 'name' => 'seven', ), ); print_r(reset($arr[0]));
based on GW3TV
Output for 5.3.18 - 7.2.0
3