3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $path = "\\/var\\/www\\/resources"; $pathChunks = explode("/", $path); print_r($pathChunks); ?>
Output for 4.3.0 - 7.1.0
Array ( [0] => \ [1] => var\ [2] => www\ [3] => resources )