3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "<html>"; echo "<title>" . isset($_GET['title']) ? intval($_GET['title']) : 'EAS Video' . " - The EAS Archives</title>"; echo "<br />"; echo "<br />"; echo "<center><embed src='http://www.easarchives.uphero.com/media/'" . isset($_GET['filename']) ? intval($_GET['filename']) : 'unknown.mp3' . " autostart='false' width='100%' height='100%' loop='false'/></center>"; echo "<br />"; echo "<br />"; if ($_GET['alert']=='EAS') { echo '<center><div style="background-color:#8FD8D8;width:500px;height:100px;border:1px solid #000"><strong>Title:</strong> " . isset($_GET['title']) ? intval($_GET['title']) : 'EAS' . "<br /><strong>System:</strong> " . isset($_GET['system']) ? intval($_GET['system']) : 'Unknown' . "<br /><strong>Alert Type:</strong> " . isset($_GET['type']) ? intval($_GET['type']) : 'Unknown' . "<br /><strong>Where:</strong> " . isset($_GET['where']) ? intval($_GET['where']) : 'Unknown' . "<br /><strong>Callsign & Station Name:</strong> " . isset($_GET['callsign']) ? intval($_GET['callsign']) : 'Unknown/Generic' . "<br /><strong>Date Issued:</strong> " . isset($_GET['date']) ? intval($_GET['date']) : 'Unknown' . if (isset($_GET['trans'])) { "<br /><strong>Translation:</strong> " . $_GET['trans'] } . "</div></center>'; } if ($_GET['alert']=='CAE') { echo "<center><div style="background-color:#8FD8D8;width:500px;height:100px;border:1px solid #000"><strong>Title:</strong> " . isset($_GET['title']) ? intval($_GET['title']) : 'EAS' . "<br /><strong>Name:</strong> " . isset($_GET['name']) ? intval($_GET['name']) : 'Unknown' . "<br /><strong>Status:</strong> " . isset($_GET['status']) ? intval($_GET['status']) : 'Unknown' . "<br /><strong>System:</strong> " . isset($_GET['system']) ? intval($_GET['system']) : 'Unknown' . "<br /><strong>Alert Type:</strong> " . isset($_GET['type']) ? intval($_GET['type']) : 'Unknown' . "<br /><strong>Where:</strong> " . isset($_GET['where']) ? intval($_GET['where']) : 'Unknown' . "<br /><strong>Callsign & Station Name:</strong> " . isset($_GET['callsign']) ? intval($_GET['callsign']) : 'Unknown/Generic' . "<br /><strong>Date Issued:</strong> " . isset($_GET['date']) ? intval($_GET['date']) : 'Unknown' . if (isset($_GET['trans'])) { "<br /><strong>Translation:</strong> " . $_GET['trans'] } . "</div></center>"; } echo "<br />"; echo "<center><form><input type="button" value="Go Back" onclick="history.go(-1)"></form></center>"; echo "<br />"; echo "<br />"; echo "<center>© 2012-2013 The EAS Archives and WindozeNT Software</center>"; echo "</html>"; ?>
Output for 5.4.0 - 5.4.10
Parse error: syntax error, unexpected 'title' (T_STRING), expecting ',' or ';' in /in/Bf2uZ on line 11
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.20
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /in/Bf2uZ on line 11
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 T_STRING, expecting ',' or ';' in /in/Bf2uZ on line 11
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `','' or `';'' in /in/Bf2uZ on line 11
Process exited with code 255.

preferences:
194.4 ms | 1395 KiB | 92 Q