3v4l.org

run code in 300+ PHP versions simultaneously
<?php $trx_nb = array(); if(isset($trx_nb[1])){ $trx_nb[1] +=1; }else{ $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
2 jumps found. (Code = 43) Position 1 = 3, Position 2 = 6
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 6
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/IHZPI
function name:  (null)
number of ops:  23
compiled vars:  !0 = $trx_nb
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    5     1        ISSET_ISEMPTY_DIM_OBJ                         0          !0, 1
          2      > JMPZ                                                     ~2, ->6
    6     3    >   ASSIGN_DIM_OP                +=               1          !0, 1
          4        OP_DATA                                                  1
          5      > JMP                                                      ->8
    8     6    >   ASSIGN_DIM                                               !0, 1
          7        OP_DATA                                                  1
   11     8    >   FETCH_DIM_R                                      ~5      !0, 1
          9        ECHO                                                     ~5
   12    10        ASSIGN_DIM_OP                +=               1          !0, 1
         11        OP_DATA                                                  1
   13    12        FETCH_DIM_R                                      ~7      !0, 1
         13        ECHO                                                     ~7
   15    14        ASSIGN_DIM_OP                +=               1          !0, 1
         15        OP_DATA                                                  1
   16    16        FETCH_DIM_R                                      ~9      !0, 1
         17        ECHO                                                     ~9
   18    18        ASSIGN_DIM_OP                +=               1          !0, 1
         19        OP_DATA                                                  1
   19    20        FETCH_DIM_R                                      ~11     !0, 1
         21        ECHO                                                     ~11
         22      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.61 ms | 1393 KiB | 13 Q