3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo CWD; echo readfile('../../index.php');
based on 4BhhI
Output for 4.3.2 - 5.6.28, 7.0.0 - 7.1.0
Notice: Use of undefined constant CWD - assumed 'CWD' in /in/AUlIh on line 2 CWD Warning: readfile(../../index.php): failed to open stream: No such file or directory in /in/AUlIh on line 3
Output for hhvm-3.12.0
Notice: Use of undefined constant CWD - assumed 'CWD' in /in/AUlIh on line 2 CWD Warning: No such file or directory in /in/AUlIh on line 3
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.0 - 4.3.1
Notice: Use of undefined constant CWD - assumed 'CWD' in /in/AUlIh on line 2 CWD Warning: readfile(../../index.php) [http://www.php.net/function.readfile]: failed to create stream: No such file or directory in /in/AUlIh on line 3