3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $url="/111/456"; $args = array_filter(explode("/", $url)); //array_shift($args); print_r($args);
Output for 4.3.0 - 7.1.0
Array ( [1] => 111 [2] => 456 )