3v4l.org

run code in 300+ PHP versions simultaneously
<?php $include = preg_replace('/\.\.+\/\/*/', '', './..././asd'); echo $include ?>

preferences:
30.04 ms | 402 KiB | 5 Q