3v4l.org

run code in 300+ PHP versions simultaneously
<?php print_r(preg_split('#[\\\\/]#', "/test/foo/bar"));

preferences:
33.8 ms | 402 KiB | 5 Q