3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "<html>"; 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'])) { echo "<br /><strong>Translation:</strong> " . $_GET['trans']; } echo "</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'])) { echo "<br /><strong>Translation:</strong> " . $_GET['trans']; } echo "</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.3.0 - 7.1.0
<html><br /><br /> Notice: Undefined index: filename in /in/bqZgs on line 5 0<br /><br /> Notice: Undefined index: alert in /in/bqZgs on line 9 Notice: Undefined index: alert in /in/bqZgs on line 15 <br /><center><form><input type="button" value="Go Back" onclick="history.go(-1)"></form></center><br /><br /><center>© 2012-2013 The EAS Archives and WindozeNT Software</center></html>
Output for 4.3.0 - 5.2.17
<html><br /><br /> Notice: Undefined index: filename in /in/bqZgs on line 5 0<br /><br /> Notice: Undefined index: alert in /in/bqZgs on line 9 Notice: Undefined index: alert in /in/bqZgs on line 15 <br /><center><form><input type="button" value="Go Back" onclick="history.go(-1)"></form></center><br /><br /><center>© 2012-2013 The EAS Archives and WindozeNT Software</center></html>