3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "<script type='text/javascript>'"; echo "alert('<p>Oops! You never signed in!</p><br><p>Please contact a Librarian</p>');'"; echo "</script>'"; header('Location: http://google.com'); ?>
Output for 5.2.3 - 5.6.28, 7.0.0 - 7.1.0
<script type='text/javascript>'alert('<p>Oops! You never signed in!</p><br><p>Please contact a Librarian</p>');'</script>' Warning: Cannot modify header information - headers already sent by (output started at /in/IdrRA:2) in /in/IdrRA on line 6
Output for hhvm-3.10.0 - 3.12.0
<script type='text/javascript>'alert('<p>Oops! You never signed in!</p><br><p>Please contact a Librarian</p>');'</script>' Warning: Cannot modify header information - headers already sent in /in/IdrRA on line 6
Output for 4.3.0 - 5.2.2
<script type='text/javascript>'alert('<p>Oops! You never signed in!</p><br><p>Please contact a Librarian</p>');'</script>'