3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(array('step one'), 'step two', 'step three', 'step four'); // by default, the pointer is on the first element echo reset($array)[0];

preferences:
31.49 ms | 402 KiB | 5 Q