3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $my_thing = "thisismy.image.jpg"; $last_dot = strrpos($my_thing, "."); echo substr($my_thing, $last_dot);
Output for 4.3.0 - 7.2.0
.jpg