3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php include('/tmp/test.txt'); system('echo "test" > /tmp/test.txt');
Output for 5.6.30, 7.0.0 - 7.2.9
Warning: include(/tmp/test.txt): failed to open stream: No such file or directory in /in/kd9fl on line 2 Warning: include(): Failed opening '/tmp/test.txt' for inclusion (include_path='.:') in /in/kd9fl on line 2
Output for hhvm-3.22.0
Warning: include(/tmp/test.txt): File not found in /in/kd9fl on line -1 fork has been disabled for security reasons
Process exited with code 1.
Output for hhvm-3.15.4 - 3.21.3
Warning: include(/tmp/test.txt): File not found in /in/kd9fl on line 2 fork has been disabled for security reasons
Process exited with code 1.