3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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;
based on VbZ6i
Output for 5.6.0 - 5.6.30, hhvm-3.15.4, 7.0.0 - 7.2.0
/etc/passwd /tmp