3v4l.org

run code in 300+ PHP versions simultaneously
<?php $UserID = '<script>alert(XSS)</script>'; ?> <div> UserID: <?php echo htmlspecialchars($UserID); ?>は見つかりません。 </div>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NctCY
function name:  (null)
number of ops:  8
compiled vars:  !0 = $UserID
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ASSIGN                                                   !0, '%3Cscript%3Ealert%28XSS%29%3C%2Fscript%3E'
    2     1        ECHO                                                     '%3Cdiv%3E%0A+UserID%3A+'
    3     2        INIT_FCALL                                               'htmlspecialchars'
          3        SEND_VAR                                                 !0
          4        DO_ICALL                                         $2      
          5        ECHO                                                     $2
          6        ECHO                                                     '%E3%81%AF%E8%A6%8B%E3%81%A4%E3%81%8B%E3%82%8A%E3%81%BE%E3%81%9B%E3%82%93%E3%80%82%0A%3C%2Fdiv%3E'
    4     7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
137.94 ms | 1441 KiB | 14 Q