3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 20, Position 2 = 35
Branch analysis from position: 20
2 jumps found. (Code = 78) Position 1 = 21, Position 2 = 35
Branch analysis from position: 21
2 jumps found. (Code = 43) Position 1 = 25, Position 2 = 26
Branch analysis from position: 25
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
Branch analysis from position: 26
2 jumps found. (Code = 43) Position 1 = 30, Position 2 = 34
Branch analysis from position: 30
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
Branch analysis from position: 34
Branch analysis from position: 35
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 35
filename:       /in/WIas7
function name:  (null)
number of ops:  41
compiled vars:  !0 = $data, !1 = $max_score, !2 = $minlength, !3 = $value, !4 = $key, !5 = $index
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   10     1        INIT_FCALL                                               'usort'
          2        SEND_REF                                                 !0
          3        DECLARE_LAMBDA_FUNCTION                          ~7      [0]
   15     4        SEND_VAL                                                 ~7
   10     5        DO_ICALL                                                 
   16     6        INIT_FCALL                                               'print_r'
          7        FETCH_DIM_R                                      ~9      !0, 0
          8        SEND_VAL                                                 ~9
          9        DO_ICALL                                                 
   17    10        INIT_FCALL                                               'max'
         11        INIT_FCALL                                               'array_column'
         12        SEND_VAR                                                 !0
         13        SEND_VAL                                                 'score'
         14        DO_ICALL                                         $11     
         15        SEND_VAR                                                 $11
         16        DO_ICALL                                         $12     
         17        ASSIGN                                                   !1, $12
   18    18        ASSIGN                                                   !2, 9223372036854775807
   19    19      > FE_RESET_R                                       $15     !0, ->35
         20    > > FE_FETCH_R                                       ~16     $15, !3, ->35
         21    >   ASSIGN                                                   !4, ~16
   20    22        FETCH_DIM_R                                      ~18     !3, 'score'
         23        IS_NOT_EQUAL                                             !1, ~18
         24      > JMPZ                                                     ~19, ->26
         25    > > JMP                                                      ->20
   21    26    >   FETCH_DIM_R                                      ~20     !3, 'word'
         27        STRLEN                                           ~21     ~20
         28        IS_SMALLER                                               ~21, !2
         29      > JMPZ                                                     ~22, ->34
   22    30    >   FETCH_DIM_R                                      ~23     !3, 'word'
         31        STRLEN                                           ~24     ~23
         32        ASSIGN                                                   !2, ~24
   23    33        ASSIGN                                                   !5, !4
   19    34    > > JMP                                                      ->20
         35    >   FE_FREE                                                  $15
   26    36        INIT_FCALL                                               'print_r'
         37        FETCH_DIM_R                                      ~27     !0, !5
         38        SEND_VAL                                                 ~27
         39        DO_ICALL                                                 
         40      > RETURN                                                   1


Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 17
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 12, Position 2 = 14
Branch analysis from position: 12
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/WIas7
function name:  {closure}
number of ops:  22
compiled vars:  !0 = $a, !1 = $b
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
          1        RECV                                             !1      
   11     2        FETCH_DIM_R                                      ~2      !0, 'score'
          3        FETCH_DIM_R                                      ~3      !1, 'score'
          4        IS_EQUAL                                                 ~2, ~3
          5      > JMPZ                                                     ~4, ->17
   12     6    >   FETCH_DIM_R                                      ~5      !0, 'word'
          7        STRLEN                                           ~6      ~5
          8        FETCH_DIM_R                                      ~7      !1, 'word'
          9        STRLEN                                           ~8      ~7
         10        IS_SMALLER_OR_EQUAL                                      ~8, ~6
         11      > JMPZ                                                     ~9, ->14
         12    >   QM_ASSIGN                                        ~10     1
         13      > JMP                                                      ->15
         14    >   QM_ASSIGN                                        ~10     -1
         15    > > RETURN                                                   ~10
   11    16*       JMP                                                      ->21
   14    17    >   FETCH_DIM_R                                      ~11     !1, 'score'
         18        FETCH_DIM_R                                      ~12     !0, 'score'
         19        SUB                                              ~13     ~11, ~12
         20      > RETURN                                                   ~13
   15    21*     > RETURN                                                   null

End of Dynamic Function 0

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
284.91 ms | 975 KiB | 17 Q