3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $url = '/branch/sub/1/wow/2//43/?in=88'; var_dump(explode('/', $url));
Output for 4.3.0 - 7.1.0
array(9) { [0]=> string(0) "" [1]=> string(6) "branch" [2]=> string(3) "sub" [3]=> string(1) "1" [4]=> string(3) "wow" [5]=> string(1) "2" [6]=> string(0) "" [7]=> string(2) "43" [8]=> string(6) "?in=88" }