3v4l.org

run code in 300+ PHP versions simultaneously
<script>alert(i+=1);</script><?php $i = 0; var_dump( $i+++$i );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KWQ7V
function name:  (null)
number of ops:  8
compiled vars:  !0 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Cscript%3Ealert%28i%2B%3D1%29%3B%3C%2Fscript%3E'
    2     1        ASSIGN                                                   !0, 0
    4     2        INIT_FCALL                                               'var_dump'
          3        POST_INC                                         ~2      !0
          4        ADD                                              ~3      ~2, !0
          5        SEND_VAL                                                 ~3
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.44 ms | 1393 KiB | 15 Q