3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Lpr6k
function name:  (null)
number of ops:  8
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   77     1        INIT_FCALL                                               'updatetreearray'
          2        SEND_REF                                                 !0
          3        DO_FCALL                                      0          
   79     4        INIT_FCALL                                               'print_r'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
          7      > RETURN                                                   1

Function updatetreearray:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 125) Position 1 = 3, Position 2 = 20
Branch analysis from position: 3
2 jumps found. (Code = 126) Position 1 = 4, Position 2 = 20
Branch analysis from position: 4
2 jumps found. (Code = 46) Position 1 = 6, Position 2 = 9
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 19
Branch analysis from position: 10
1 jumps found. (Code = 42) Position 1 = 3
Branch analysis from position: 3
Branch analysis from position: 19
Branch analysis from position: 9
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 20
filename:       /in/Lpr6k
function name:  updateTreeArray
number of ops:  22
compiled vars:  !0 = $array, !1 = $level, !2 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   68     0  E >   RECV                                             !0      
          1        RECV_INIT                                        !1      1
   69     2      > FE_RESET_RW                                      $3      !0, ->20
          3    > > FE_FETCH_RW                                              $3, !2, ->20
   70     4    >   ARRAY_KEY_EXISTS                                 ~4      'children', !2
          5      > JMPZ_EX                                          ~4      ~4, ->9
          6    >   FETCH_DIM_R                                      ~5      !2, 'children'
          7        TYPE_CHECK                                  128  ~6      ~5
          8        BOOL                                             ~4      ~6
          9    > > JMPZ                                                     ~4, ->19
   71    10    >   ASSIGN_DIM                                               !2, 'level'
         11        OP_DATA                                                  !1
   72    12        INIT_FCALL_BY_NAME                                       'updateTreeArray'
         13        CHECK_FUNC_ARG                                           
         14        FETCH_DIM_FUNC_ARG                               $8      !2, 'children'
         15        SEND_FUNC_ARG                                            $8
         16        ADD                                              ~9      !1, 1
         17        SEND_VAL_EX                                              ~9
         18        DO_FCALL                                      0          
   69    19    > > JMP                                                      ->3
         20    >   FE_FREE                                                  $3
   75    21      > RETURN                                                   null

End of function updatetreearray

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
258.58 ms | 972 KiB | 15 Q