3v4l.org

run code in 300+ PHP versions simultaneously
<?php $trx_nb = array(); $trx_nb[1] +=1; echo $trx_nb[1]; $trx_nb[1] +=1; echo $trx_nb[1]; $trx_nb[1] +=1; echo $trx_nb[1]; $trx_nb[1] +=1; echo $trx_nb[1];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/I5CLN
function name:  (null)
number of ops:  18
compiled vars:  !0 = $trx_nb
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    6     1        ASSIGN_DIM_OP                +=               1          !0, 1
          2        OP_DATA                                                  1
    7     3        FETCH_DIM_R                                      ~3      !0, 1
          4        ECHO                                                     ~3
    8     5        ASSIGN_DIM_OP                +=               1          !0, 1
          6        OP_DATA                                                  1
    9     7        FETCH_DIM_R                                      ~5      !0, 1
          8        ECHO                                                     ~5
   11     9        ASSIGN_DIM_OP                +=               1          !0, 1
         10        OP_DATA                                                  1
   12    11        FETCH_DIM_R                                      ~7      !0, 1
         12        ECHO                                                     ~7
   14    13        ASSIGN_DIM_OP                +=               1          !0, 1
         14        OP_DATA                                                  1
   15    15        FETCH_DIM_R                                      ~9      !0, 1
         16        ECHO                                                     ~9
         17      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.19 ms | 1393 KiB | 13 Q