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]["abc".$i+1]; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 8
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 8
Branch analysis from position: 18
Branch analysis from position: 8
filename:       /in/UCVV2
function name:  (null)
number of ops:  19
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                                                      ->14
    9     8    >   ADD                                              ~8      !1, 1
          9        CONCAT                                           ~9      'abc', ~8
         10        FETCH_DIM_R                                      ~7      !0, 0
         11        FETCH_DIM_R                                      ~10     ~7, ~9
         12        ECHO                                                     ~10
    7    13        PRE_INC                                                  !1
         14    >   FETCH_DIM_R                                      ~12     !0, 0
         15        COUNT                                            ~13     ~12
         16        IS_SMALLER                                               !1, ~13
         17      > JMPNZ                                                    ~14, ->8
   10    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.95 ms | 1385 KiB | 13 Q