3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hello[0]["1"] = "v:a"; $hello[0]["2"] = "v:b"; for($i=0;$i<count($hello[0]);$i++) { echo $hello[0][$i+1]; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 8
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 8
Branch analysis from position: 17
Branch analysis from position: 8
filename:       /in/S5Yq7
function name:  (null)
number of ops:  18
compiled vars:  !0 = $hello, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_DIM_W                                      $2      !0, 0
          1        ASSIGN_DIM                                               $2, 1
          2        OP_DATA                                                  'v%3Aa'
    4     3        FETCH_DIM_W                                      $4      !0, 0
          4        ASSIGN_DIM                                               $4, 2
          5        OP_DATA                                                  'v%3Ab'
    7     6        ASSIGN                                                   !1, 0
          7      > JMP                                                      ->13
    9     8    >   ADD                                              ~8      !1, 1
          9        FETCH_DIM_R                                      ~7      !0, 0
         10        FETCH_DIM_R                                      ~9      ~7, ~8
         11        ECHO                                                     ~9
    7    12        PRE_INC                                                  !1
         13    >   FETCH_DIM_R                                      ~11     !0, 0
         14        COUNT                                            ~12     ~11
         15        IS_SMALLER                                               !1, ~12
         16      > JMPNZ                                                    ~13, ->8
   10    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
163.13 ms | 1385 KiB | 13 Q