3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $asd = "http://asd.asd/asd\/asd//////asdasd////asd"; var_dump(explode("/",$asd));
Output for 4.3.0 - 7.1.0
array(15) { [0]=> string(5) "http:" [1]=> string(0) "" [2]=> string(7) "asd.asd" [3]=> string(4) "asd\" [4]=> string(3) "asd" [5]=> string(0) "" [6]=> string(0) "" [7]=> string(0) "" [8]=> string(0) "" [9]=> string(0) "" [10]=> string(6) "asdasd" [11]=> string(0) "" [12]=> string(0) "" [13]=> string(0) "" [14]=> string(3) "asd" }