3v4l.org

run code in 300+ PHP versions simultaneously
<?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'); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IdrRA
function name:  (null)
number of ops:  7
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     '%3Cscript+type%3D%27text%2Fjavascript%3E%27'
    3     1        ECHO                                                     'alert%28%27%3Cp%3EOops%21+You+never+signed+in%21%3C%2Fp%3E%3Cbr%3E%3Cp%3EPlease+contact+a%0A++++++++++++Librarian%3C%2Fp%3E%27%29%3B%27'
    5     2        ECHO                                                     '%3C%2Fscript%3E%27'
    6     3        INIT_FCALL                                               'header'
          4        SEND_VAL                                                 'Location%3A+http%3A%2F%2Fgoogle.com'
          5        DO_ICALL                                                 
    8     6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.66 ms | 1394 KiB | 15 Q