3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $my_url = 'http://www.example.com/5478631'; echo substr($my_url, strrpos($my_url, '/' )+1); ?>
Output for 4.3.0 - 7.1.0
5478631