3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php <script language="JavaScript" type="text/javascript"> <!-- var alreadyFocused = false; function squirrelmail_loginpage_onload() { document.login_form.js_autodetect_results.value = '1'; if (alreadyFocused) return; var textElements = 0; for (i = 0; i < document.login_form.elements.length; i++) { if (document.login_form.elements[i].type == "text" || document.login_form.elements[i].type == "password") { textElements++; if (textElements == 1) { document.login_form.elements[i].focus(); break; } } } } // --> </script>
Output for 5.3.0 - 5.5.8
Parse error: syntax error, unexpected '<' in /in/F20hm on line 2
Process exited with code 255.