3v4l.org

run code in 300+ PHP versions simultaneously
<?php $my_thing = "thisismy.image.jpg"; $last_dot = strrpos($my_thing, "."); echo $my_thing[$last_dot];

preferences:
45.46 ms | 402 KiB | 5 Q