3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $path1 = '/etc/passwd/dfdf/aaa'; $path2 = 'etc/passwd/dfdf/aaa'; print_r(explode('/', $path1));
Output for 4.3.0 - 7.1.0
Array ( [0] => [1] => etc [2] => passwd [3] => dfdf [4] => aaa )