3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "{$_GET['callback']}('<script>alert(\'XSS\');</script>')";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KL2Qd
function name:  (null)
number of ops:  6
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_R                      global              ~0      '_GET'
          1        FETCH_DIM_R                                      ~1      ~0, 'callback'
          2        NOP                                                      
          3        FAST_CONCAT                                      ~2      ~1, '%28%27%3Cscript%3Ealert%28%5C%27XSS%5C%27%29%3B%3C%2Fscript%3E%27%29'
          4        ECHO                                                     ~2
          5      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.16 ms | 1392 KiB | 13 Q