3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Everything you enter here will be executed by our servers. Try it! chdir('/var/www/'); echo realpath("../app/cache/tmpl/");
Output for 4.3.2 - 7.1.0
Warning: chdir(): No such file or directory (errno 2) in /in/68N5L on line 3
Output for 4.3.0 - 4.3.1
Warning: chdir() [http://www.php.net/function.chdir]: No such file or directory (errno 2) in /in/68N5L on line 3