3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('step one', 'step two', 'step three', 'step four'); // by default, the pointer is on the first element echo current($array) . "<br />\n"; // "step one"

preferences:
35.31 ms | 402 KiB | 5 Q