3v4l.org

run code in 300+ PHP versions simultaneously
<?php highlight_string('<?php phpinfo(); ?>'); echo PHP_EOL,PHP_EOL; highlight_string('<?php echo \'<script>alert("xss");</script>\'; ?><script>alert(\'xss\');</script>'); echo PHP_EOL,PHP_EOL; highlight_string('<script>alert(\'xss\');</script>');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/mYK5A
function name:  (null)
number of ops:  14
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'highlight_string'
          1        SEND_VAL                                                 '%3C%3Fphp+phpinfo%28%29%3B+%3F%3E'
          2        DO_ICALL                                                 
    4     3        ECHO                                                     '%0A'
          4        ECHO                                                     '%0A'
    5     5        INIT_FCALL                                               'highlight_string'
          6        SEND_VAL                                                 '%3C%3Fphp+echo+%27%3Cscript%3Ealert%28%22xss%22%29%3B%3C%2Fscript%3E%27%3B+%3F%3E%3Cscript%3Ealert%28%27xss%27%29%3B%3C%2Fscript%3E'
          7        DO_ICALL                                                 
    6     8        ECHO                                                     '%0A'
          9        ECHO                                                     '%0A'
    7    10        INIT_FCALL                                               'highlight_string'
         11        SEND_VAL                                                 '%3Cscript%3Ealert%28%27xss%27%29%3B%3C%2Fscript%3E'
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
139.34 ms | 1435 KiB | 14 Q