3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filename = 'etc/ppasswd'; echo realpath($filename) . PHP_EOL; $fullpath = 'G:/modules/vergleichsrechner/Latex/Output/'; echo realpath('../modules/vergleichsrechner/Latex/Output') . PHP_EOL; echo realpath('./../../etc/passwd') . PHP_EOL; echo realpath('/tmp/') . PHP_EOL;

preferences:
113.44 ms | 402 KiB | 5 Q