3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 2000; $i < 2050; ++$i) { $path = '../../../../../etc/' . str_repeat('./', $i) . 'passwd'; echo strlen($path . '.wtf').PHP_EOL; readfile($path . '.wtf'); }

preferences:
30.68 ms | 402 KiB | 5 Q