3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo substr('sdfs', 0, 1); ?>

preferences:
39.79 ms | 402 KiB | 5 Q