3v4l.org

run code in 300+ PHP versions simultaneously
<?php function state_default($fail = 0) { global $username, $class, $msg, $name, $email; ?> <p>This is the ARC anonymous course feedback form.</p> <p>Do feel free to send us comments about anything ARC-related -- such as problems with TAs, professors or courses, particularly good instructors or clear course policies, ideas for what the ARC should be doing, or just about anything else (in fact, we'd be interested to know what at Caltech does not have some relation to academics or research). </p> <p>Fill in your name and email address if you are willing to have the ARC contact you with follow up questions; this will obviously make your comment non-anonymous, but we do promise to keep comments strictly confidential. </p> <p>After you submit your feedback, you'll be given a URL where you can follow up on what the ARC is doing in response.</P> <P> <FORM METHOD="post" ACTION="<?=$PHP_SELF?>"> <INPUT TYPE="hidden" NAME="state" VALUE="report"> <table> <tr> <td>To: ARC</td> </tr> <tr> <td>Name:</td> <td><INPUT TYPE="text" NAME="name" value="<?=$name?>"></td> </tr> <tr> <td>Reply Email (optional):</td> <td><INPUT TYPE="text" NAME="email" value="<?=$email?>"></td> </tr> <tr> <td>Class:</td> <td> <INPUT TYPE="text" NAME="class" value="<?=$class?>"></td> </tr> <tr> <td valign="top">Feedback:</td> <td><TEXTAREA NAME="msg" ROWS="12" COLS="36"><?=$msg?></TEXTAREA></td> </tr> <tr> <td></td> <td><INPUT TYPE="submit" VALUE="Submit"><INPUT TYPE="reset" VALUE="Restart"></td> </tr> </table> </FORM> <? }
Output for 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
Parse error: Unclosed '{' on line 3 in /in/5qGon on line 54
Process exited with code 255.
Output for 5.4.0 - 5.4.45, 7.3.32 - 7.3.33, 7.4.33, 8.0.13
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.32
Parse error: syntax error, unexpected end of file in /in/5qGon on line 54
Process exited with code 255.
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
Parse error: syntax error, unexpected $end in /in/5qGon on line 54
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.3.11, 4.4.0 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected $ in /in/5qGon on line 54
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/5qGon on line 54
Process exited with code 255.

preferences:
292.6 ms | 401 KiB | 459 Q