3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hello[0]["arg0"] = "v:0"; $hello[0]["arg1"] = "v:1"; $hello[0]["arg2"] = "v:2"; for($i=0;$i<count($hello[0]);$i++) { echo $hello["arg".$i+1]; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 11
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 11
Branch analysis from position: 20
Branch analysis from position: 11
filename:       /in/eFv4P
function name:  (null)
number of ops:  21
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, 'arg0'
          2        OP_DATA                                                  'v%3A0'
    3     3        FETCH_DIM_W                                      $4      !0, 0
          4        ASSIGN_DIM                                               $4, 'arg1'
          5        OP_DATA                                                  'v%3A1'
    4     6        FETCH_DIM_W                                      $6      !0, 0
          7        ASSIGN_DIM                                               $6, 'arg2'
          8        OP_DATA                                                  'v%3A2'
    7     9        ASSIGN                                                   !1, 0
         10      > JMP                                                      ->16
    9    11    >   ADD                                              ~9      !1, 1
         12        CONCAT                                           ~10     'arg', ~9
         13        FETCH_DIM_R                                      ~11     !0, ~10
         14        ECHO                                                     ~11
    7    15        PRE_INC                                                  !1
         16    >   FETCH_DIM_R                                      ~13     !0, 0
         17        COUNT                                            ~14     ~13
         18        IS_SMALLER                                               !1, ~14
         19      > JMPNZ                                                    ~15, ->11
   10    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.67 ms | 1394 KiB | 13 Q