run code in 150+ php & hhvm versions
Bugs & Features
<?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 5.3.0 - 5.6.21, 7.0.0 - 7.1.0RC4
Parse error: syntax error, unexpected '<' in /in/dfcIY on line 6
Process exited with code 255.
Output for hhvm-3.10.0 - 3.12.0
Fatal error: syntax error, unexpected '<' in /in/dfcIY on line 6
Process exited with code 255.