3v4l.org

run code in 300+ PHP versions simultaneously
<?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.13
Parse error: syntax error, unexpected '$_POST' (T_VARIABLE), expecting '(' in /in/1qafS on line 3
Process exited with code 255.
Output for 5.4.0 - 5.4.12
Parse error: syntax error, unexpected '$_POST' (T_VARIABLE), expecting '(' in IU4go on line 3
Process exited with code 255.
Output for 5.3.23
Parse error: syntax error, unexpected T_VARIABLE, expecting '(' in /in/1qafS on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.22
Parse error: syntax error, unexpected T_VARIABLE, expecting '(' in IU4go on line 3
Process exited with code 255.

preferences:
213.73 ms | 1395 KiB | 45 Q