3v4l.org

run code in 300+ PHP versions simultaneously
Privacy: <input type="radio" name="type" value="2" <?php if($type=='open'){ echo "checked=\"checked\"; } ?>> Open <input type="radio" name="type" value="1" <?php if($type=='closed'){ echo "checked=\"checked\"; } ?>> Closed <input type="radio" name="type" value="0" <?php if($type=='secret'){ echo "checked=\"checked\"; } ?>> Secret
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected 'radio' (T_STRING), expecting ',' or ';' in /in/OdbOK on line 1
Process exited with code 255.
Output for 5.3.0 - 5.3.26
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /in/OdbOK on line 1
Process exited with code 255.

preferences:
198.34 ms | 1395 KiB | 52 Q