3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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 'if' (T_IF) in /in/B0LDH on line 11
Process exited with code 255.
Output for 5.3.0 - 5.3.20
Parse error: syntax error, unexpected T_IF in /in/B0LDH on line 11
Process exited with code 255.