3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo file_get_contents($_SERVER['PHP_SELF'].'/..');
Output for 5.3.0 - 5.6.28, 7.0.0 - 7.1.0
Warning: file_get_contents(/in/DWlb6/..): failed to open stream: No such file or directory in /in/DWlb6 on line 3
Output for hhvm-3.10.0 - 3.12.0
Warning: Permission denied in /in/DWlb6 on line 3
Output for 5.2.3 - 5.2.17
Warning: file_get_contents(/in/DWlb6/..): failed to open stream: Permission denied in /in/DWlb6 on line 3
Output for 4.3.0 - 5.2.2