3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hello[0][0] = "v:0"; $hello[0][1] = "v:1"; $hello[0][2] = "v:2"; 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 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 11
Branch analysis from position: 21
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 21, Position 2 = 11
Branch analysis from position: 21
Branch analysis from position: 11
filename:       /in/p8Wp4
function name:  (null)
number of ops:  22
compiled vars:  !0 = $hello, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   FETCH_DIM_W                                      $2      !0, 0
          1        ASSIGN_DIM                                               $2, 0
          2        OP_DATA                                                  'v%3A0'
    3     3        FETCH_DIM_W                                      $4      !0, 0
          4        ASSIGN_DIM                                               $4, 1
          5        OP_DATA                                                  'v%3A1'
    4     6        FETCH_DIM_W                                      $6      !0, 0
          7        ASSIGN_DIM                                               $6, 2
          8        OP_DATA                                                  'v%3A2'
    7     9        ASSIGN                                                   !1, 0
         10      > JMP                                                      ->17
    9    11    >   ADD                                              ~10     !1, 1
         12        CONCAT                                           ~11     'abc', ~10
         13        FETCH_DIM_R                                      ~9      !0, 0
         14        FETCH_DIM_R                                      ~12     ~9, ~11
         15        ECHO                                                     ~12
    7    16        PRE_INC                                                  !1
         17    >   FETCH_DIM_R                                      ~14     !0, 0
         18        COUNT                                            ~15     ~14
         19        IS_SMALLER                                               !1, ~15
         20      > JMPNZ                                                    ~16, ->11
   10    21    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.2 ms | 1393 KiB | 13 Q