3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = "abc"; var_dump($str[0]);

preferences:
27.4 ms | 407 KiB | 5 Q