3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.12 ms | 975 KiB | 17 Q