3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $url = '/agendamentos/index/ultimos'; $url = explode('/', $url); echo $url[1]; echo $url[2];
based on ak02U
Output for 4.3.0 - 7.2.0
agendamentosindex