3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo('<script type="text/javascript">'.PHP_EOL.'window.location = "http://google.com";'.PHP_EOL.'</script>');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Kjg6m
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ECHO                                                     '%3Cscript+type%3D%22text%2Fjavascript%22%3E%0Awindow.location+%3D+%22http%3A%2F%2Fgoogle.com%22%3B%0A%3C%2Fscript%3E'
          1      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.93 ms | 1392 KiB | 13 Q