Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PuNR8
function name:  (null)
number of ops:  8
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   97     0  E >   INIT_FCALL                                               'var_dump'
          1        INIT_FCALL                                               'comparewords'
          2        SEND_VAL                                                 'the+tomato+sauce.'
          3        SEND_VAL                                                 'tomato+sauce'
          4        DO_FCALL                                      0  $0      
          5        SEND_VAR                                                 $0
          6        DO_ICALL                                                 
          7      > RETURN                                                   1
Function removediacritics:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PuNR8
function name:  removeDiacritics
number of ops:  7
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   RECV                                             !0      
    8     1        INIT_FCALL_BY_NAME                                       'transliterator_transliterate'
          2        SEND_VAL_EX                                              'Any-Latin%3BLatin-ASCII'
          3        SEND_VAR_EX                                              !0
          4        DO_FCALL                                      0  $1      
          5      > RETURN                                                   $1
    9     6*     > RETURN                                                   null
End of function removediacritics
Function ensureutf8encoding:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 14
Branch analysis from position: 9
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 20
Branch analysis from position: 16
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 20
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 29
Branch analysis from position: 22
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
filename:       /in/PuNR8
function name:  ensureUTF8Encoding
number of ops:  32
compiled vars:  !0 = $string, !1 = $encoding
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   17     0  E >   RECV                                             !0      
   18     1        INIT_FCALL                                               'mb_detect_encoding'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 'UTF-8'
          4        SEND_VAL                                                 <true>
          5        DO_ICALL                                         $2      
          6        ASSIGN                                                   !1, $2
   19     7        TYPE_CHECK                                    4          !1
          8      > JMPZ                                                     ~4, ->14
   20     9    >   INIT_FCALL                                               'mb_detect_encoding'
         10        SEND_VAR                                                 !0
         11        SEND_VAL                                                 'auto'
         12        DO_ICALL                                         $5      
         13        ASSIGN                                                   !1, $5
   22    14    >   TYPE_CHECK                                    4          !1
         15      > JMPZ                                                     ~7, ->20
   23    16    >   NEW                                              $8      'Exception'
         17        SEND_VAL_EX                                              'No+valid+encoding+detected'
         18        DO_FCALL                                      0          
         19      > THROW                                         0          $8
   25    20    >   IS_NOT_IDENTICAL                                         !1, 'UTF-8'
         21      > JMPZ                                                     ~10, ->29
         22    >   INIT_FCALL                                               'mb_convert_encoding'
         23        SEND_VAR                                                 !0
         24        SEND_VAL                                                 'UTF-8'
         25        SEND_VAR                                                 !1
         26        DO_ICALL                                         $11     
         27        QM_ASSIGN                                        ~12     $11
         28      > JMP                                                      ->30
         29    >   QM_ASSIGN                                        ~12     !0
         30    > > RETURN                                                   ~12
   26    31*     > RETURN                                                   null
End of function ensureutf8encoding
Function lowercase:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PuNR8
function name:  lowerCase
number of ops:  10
compiled vars:  !0 = $string
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   32     0  E >   RECV                                             !0      
   33     1        INIT_FCALL                                               'mb_strtolower'
          2        INIT_FCALL                                               'ensureutf8encoding'
          3        SEND_VAR                                                 !0
          4        DO_FCALL                                      0  $1      
          5        SEND_VAR                                                 $1
          6        SEND_VAL                                                 'UTF-8'
          7        DO_ICALL                                         $2      
          8      > RETURN                                                   $2
   34     9*     > RETURN                                                   null
End of function lowercase
Function comparewords:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 47) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 10
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 10
2 jumps found. (Code = 46) Position 1 = 12, Position 2 = 15
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 28
Branch analysis from position: 16
2 jumps found. (Code = 46) Position 1 = 30, Position 2 = 33
Branch analysis from position: 30
2 jumps found. (Code = 43) Position 1 = 34, Position 2 = 59
Branch analysis from position: 34
2 jumps found. (Code = 47) Position 1 = 92, Position 2 = 95
Branch analysis from position: 92
2 jumps found. (Code = 43) Position 1 = 96, Position 2 = 97
Branch analysis from position: 96
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 97
2 jumps found. (Code = 43) Position 1 = 119, Position 2 = 122
Branch analysis from position: 119
2 jumps found. (Code = 77) Position 1 = 133, Position 2 = 138
Branch analysis from position: 133
2 jumps found. (Code = 78) Position 1 = 134, Position 2 = 138
Branch analysis from position: 134
2 jumps found. (Code = 43) Position 1 = 136, Position 2 = 137
Branch analysis from position: 136
1 jumps found. (Code = 42) Position 1 = 133
Branch analysis from position: 133
Branch analysis from position: 137
Branch analysis from position: 138
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 138
Branch analysis from position: 122
Branch analysis from position: 95
Branch analysis from position: 59
Branch analysis from position: 33
Branch analysis from position: 28
Branch analysis from position: 15
Branch analysis from position: 8
filename:       /in/PuNR8
function name:  compareWords
number of ops:  142
compiled vars:  !0 = $s1, !1 = $s2, !2 = $skipWords, !3 = $skipText, !4 = $skipWordsRegex, !5 = $s1Words, !6 = $s2Words, !7 = $s1WordsCount, !8 = $s2WordsCount, !9 = $temp, !10 = $maxWords, !11 = $matches, !12 = $s1Word
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   47     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV_INIT                                        !2      <array>
          3        RECV_INIT                                        !3      <array>
   53     4        TYPE_CHECK                                    2  ~13     !0
          5      > JMPNZ_EX                                         ~13     ~13, ->8
          6    >   TYPE_CHECK                                    2  ~14     !1
          7        BOOL                                             ~13     ~14
          8    > > JMPZ                                                     ~13, ->10
          9    > > RETURN                                                   0
   55    10    >   TYPE_CHECK                                  1020  ~15     !3
         11      > JMPZ_EX                                          ~15     ~15, ->15
         12    >   COUNT                                            ~16     !3
         13        IS_SMALLER                                       ~17     0, ~16
         14        BOOL                                             ~15     ~17
         15    > > JMPZ                                                     ~15, ->28
   56    16    >   INIT_FCALL                                               'str_replace'
         17        SEND_VAR                                                 !3
         18        SEND_VAL                                                 ''
         19        SEND_VAR                                                 !0
         20        DO_ICALL                                         $18     
         21        ASSIGN                                                   !0, $18
   57    22        INIT_FCALL                                               'str_replace'
         23        SEND_VAR                                                 !3
         24        SEND_VAL                                                 ''
         25        SEND_VAR                                                 !1
         26        DO_ICALL                                         $20     
         27        ASSIGN                                                   !1, $20
   60    28    >   TYPE_CHECK                                  1020  ~22     !2
         29      > JMPZ_EX                                          ~22     ~22, ->33
         30    >   COUNT                                            ~23     !2
         31        IS_SMALLER                                       ~24     0, ~23
         32        BOOL                                             ~22     ~24
         33    > > JMPZ                                                     ~22, ->59
   61    34    >   INIT_FCALL                                               'array_map'
         35        DECLARE_LAMBDA_FUNCTION                          ~25     [0]
         36        SEND_VAL                                                 ~25
         37        SEND_VAR                                                 !2
         38        DO_ICALL                                         $26     
         39        ASSIGN                                                   !2, $26
   62    40        INIT_FCALL                                               'implode'
         41        SEND_VAL                                                 '%7C'
         42        SEND_VAR                                                 !2
         43        DO_ICALL                                         $28     
         44        CONCAT                                           ~29     '%2F%28%3F%3A%28%3F%3C%3D%5Cs%29%7C%5E%29%28%3F%3A', $28
         45        CONCAT                                           ~30     ~29, '%29%28%3F%3A%28%3F%3D%5Cs%29%7C%24%29%2F'
         46        ASSIGN                                                   !4, ~30
   63    47        INIT_FCALL                                               'preg_replace'
         48        SEND_VAR                                                 !4
         49        SEND_VAL                                                 ''
         50        SEND_VAR                                                 !0
         51        DO_ICALL                                         $32     
         52        ASSIGN                                                   !0, $32
   64    53        INIT_FCALL                                               'preg_replace'
         54        SEND_VAR                                                 !4
         55        SEND_VAL                                                 ''
         56        SEND_VAR                                                 !1
         57        DO_ICALL                                         $34     
         58        ASSIGN                                                   !1, $34
   67    59    >   INIT_FCALL                                               'trim'
         60        INIT_FCALL                                               'lowercase'
         61        INIT_FCALL                                               'preg_replace'
         62        SEND_VAL                                                 '%2F%5Cs%2B%2F'
         63        SEND_VAL                                                 '+'
         64        INIT_FCALL                                               'removediacritics'
         65        SEND_VAR                                                 !0
         66        DO_FCALL                                      0  $36     
         67        SEND_VAR                                                 $36
         68        DO_ICALL                                         $37     
         69        SEND_VAR                                                 $37
         70        DO_FCALL                                      0  $38     
         71        SEND_VAR                                                 $38
         72        DO_ICALL                                         $39     
         73        ASSIGN                                                   !0, $39
   68    74        INIT_FCALL                                               'trim'
         75        INIT_FCALL                                               'lowercase'
         76        INIT_FCALL                                               'preg_replace'
         77        SEND_VAL                                                 '%2F%5Cs%2B%2F'
         78        SEND_VAL                                                 '+'
         79        INIT_FCALL                                               'removediacritics'
         80        SEND_VAR                                                 !1
         81        DO_FCALL                                      0  $41     
         82        SEND_VAR                                                 $41
         83        DO_ICALL                                         $42     
         84        SEND_VAR                                                 $42
         85        DO_FCALL                                      0  $43     
         86        SEND_VAR                                                 $43
         87        DO_ICALL                                         $44     
         88        ASSIGN                                                   !1, $44
   70    89        STRLEN                                           ~46     !0
         90        IS_IDENTICAL                                     ~47     ~46, 0
         91      > JMPNZ_EX                                         ~47     ~47, ->95
         92    >   STRLEN                                           ~48     !1
         93        IS_IDENTICAL                                     ~49     ~48, 0
         94        BOOL                                             ~47     ~49
         95    > > JMPZ                                                     ~47, ->97
         96    > > RETURN                                                   0
   72    97    >   INIT_FCALL                                               'array_unique'
         98        INIT_FCALL                                               'explode'
         99        SEND_VAL                                                 '+'
        100        SEND_VAR                                                 !0
        101        DO_ICALL                                         $50     
        102        SEND_VAR                                                 $50
        103        DO_ICALL                                         $51     
        104        ASSIGN                                                   !5, $51
   73   105        INIT_FCALL                                               'array_unique'
        106        INIT_FCALL                                               'explode'
        107        SEND_VAL                                                 '+'
        108        SEND_VAR                                                 !1
        109        DO_ICALL                                         $53     
        110        SEND_VAR                                                 $53
        111        DO_ICALL                                         $54     
        112        ASSIGN                                                   !6, $54
   75   113        COUNT                                            ~56     !5
        114        ASSIGN                                                   !7, ~56
   76   115        COUNT                                            ~58     !6
        116        ASSIGN                                                   !8, ~58
   79   117        IS_SMALLER                                               !8, !7
        118      > JMPZ                                                     ~60, ->122
   80   119    >   ASSIGN                                                   !9, !5
   81   120        ASSIGN                                                   !5, !6
   82   121        ASSIGN                                                   !6, !9
   85   122    >   INIT_FCALL                                               'array_flip'
        123        SEND_VAR                                                 !6
        124        DO_ICALL                                         $64     
        125        ASSIGN                                                   !6, $64
   87   126        INIT_FCALL                                               'max'
        127        SEND_VAR                                                 !7
        128        SEND_VAR                                                 !8
        129        DO_ICALL                                         $66     
        130        ASSIGN                                                   !10, $66
   88   131        ASSIGN                                                   !11, 0
   90   132      > FE_RESET_R                                       $69     !5, ->138
        133    > > FE_FETCH_R                                               $69, !12, ->138
   91   134    >   ARRAY_KEY_EXISTS                                         !12, !6
        135      > JMPZ                                                     ~70, ->137
        136    >   PRE_INC                                                  !11
   90   137    > > JMP                                                      ->133
        138    >   FE_FREE                                                  $69
   94   139        DIV                                              ~72     !11, !10
        140      > RETURN                                                   ~72
   95   141*     > RETURN                                                   null
Dynamic Functions:
Dynamic Function 0
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/PuNR8
function name:  {closure}
number of ops:  7
compiled vars:  !0 = $item
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   61     0  E >   RECV                                             !0      
          1        INIT_FCALL                                               'preg_quote'
          2        SEND_VAR                                                 !0
          3        SEND_VAL                                                 '%2F'
          4        DO_ICALL                                         $1      
          5      > RETURN                                                   $1
          6*     > RETURN                                                   null
End of Dynamic Function 0
End of function comparewords
Generated using Vulcan Logic Dumper, using php 8.0.0