3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url="/111/456"; $args = array_filter(explode("/", $url)); //array_shift($args); print_r($args);

preferences:
35.95 ms | 402 KiB | 5 Q