3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if (isset $_POST['ok']) var_dump($_POST); ?> <form name="July" method="post"> <input type="submit" name="ok" value="1" /> </form>
Output for 5.4.0 - 5.4.13
Parse error: syntax error, unexpected '$_POST' (T_VARIABLE), expecting '(' in /in/1qafS on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.23
Parse error: syntax error, unexpected T_VARIABLE, expecting '(' in /in/1qafS on line 3
Process exited with code 255.