3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 23
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
Branch analysis from position: 23
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/KMEEU
function name:  (null)
number of ops:  30
compiled vars:  !0 = $numbers, !1 = $count, !2 = $index
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   35     1        INIT_FCALL                                               'sort'
          2        SEND_REF                                                 !0
          3        DO_ICALL                                                 
   36     4        INIT_FCALL                                               'var_export'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
   37     7        COUNT                                            ~6      !0
          8        ASSIGN                                                   !1, ~6
   38     9        INIT_FCALL                                               'floor'
         10        DIV                                              ~8      !1, 2
         11        SEND_VAL                                                 ~8
         12        DO_ICALL                                         $9      
         13        ASSIGN                                                   !2, $9
   39    14        BOOL_NOT                                         ~11     !1
         15      > JMPZ                                                     ~11, ->18
   40    16    >   ECHO                                                     'no+values'
   39    17      > JMP                                                      ->29
   41    18    >   BW_AND                                           ~12     !1, 1
         19      > JMPZ                                                     ~12, ->23
   42    20    >   FETCH_DIM_R                                      ~13     !0, !2
         21        ECHO                                                     ~13
   41    22      > JMP                                                      ->29
   44    23    >   SUB                                              ~14     !2, 1
         24        FETCH_DIM_R                                      ~15     !0, ~14
         25        FETCH_DIM_R                                      ~16     !0, !2
         26        ADD                                              ~17     ~15, ~16
         27        DIV                                              ~18     ~17, 2
         28        ECHO                                                     ~18
   45    29    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
288.03 ms | 970 KiB | 16 Q