Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 77) Position 1 = 8, Position 2 = 26
Branch analysis from position: 8
2 jumps found. (Code = 78) Position 1 = 9, Position 2 = 26
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 8
Branch analysis from position: 8
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 26
filename:       /in/tvkcW
function name:  (null)
number of ops:  28
compiled vars:  !0 = $resolver, !1 = $tests, !2 = $test, !3 = $language, !4 = $uri
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   35     0  E >   NEW                                              $5      'UriLanguageResolver'
          1        SEND_VAL_EX                                              <array>
          2        SEND_VAL_EX                                              'en'
          3        SEND_VAL_EX                                              '%2Fcms'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $5
   37     6        ASSIGN                                                   !1, <array>
   43     7      > FE_RESET_R                                       $9      !1, ->26
          8    > > FE_FETCH_R                                               $9, !2, ->26
   44     9    >   INIT_METHOD_CALL                                         !0, 'resolve'
         10        SEND_VAR_EX                                              !2
         11        DO_FCALL                                      0  $10     
         12        FETCH_LIST_R                                     $11     $10, 0
         13        ASSIGN                                                   !3, $11
         14        FETCH_LIST_R                                     $13     $10, 1
         15        ASSIGN                                                   !4, $13
         16        FREE                                                     $10
   46    17        ROPE_INIT                                     7  ~16     '%0AInput+URI%3A+'
   47    18        ROPE_ADD                                      1  ~16     ~16, !2
         19        ROPE_ADD                                      2  ~16     ~16, '%0A++Language%3A+++'
   48    20        ROPE_ADD                                      3  ~16     ~16, !3
         21        ROPE_ADD                                      4  ~16     ~16, '%0A++Routed+URI%3A+'
   49    22        ROPE_ADD                                      5  ~16     ~16, !4
         23        ROPE_END                                      6  ~15     ~16, '%0A'
         24        ECHO                                                     ~15
   43    25      > JMP                                                      ->8
         26    >   FE_FREE                                                  $9
   51    27      > RETURN                                                   1
Class UriLanguageResolver:
Function __construct:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 13
Branch analysis from position: 9
1 jumps found. (Code = 108) Position 1 = -2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/tvkcW
function name:  __construct
number of ops:  34
compiled vars:  !0 = $languages, !1 = $defaultLanguage, !2 = $uriBase
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   10     0  E >   RECV                                             !0      
          1        RECV                                             !1      
          2        RECV_INIT                                        !2      ''
   12     3        INIT_FCALL                                               'in_array'
          4        SEND_VAR                                                 !1
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                         $3      
          7        BOOL_NOT                                         ~4      $3
          8      > JMPZ                                                     ~4, ->13
   13     9    >   NEW                                              $5      'InvalidArgumentException'
         10        SEND_VAL_EX                                              'Default+language+not+present+in+supported+languages'
         11        DO_FCALL                                      0          
         12      > THROW                                         0          $5
   16    13    >   ASSIGN_OBJ                                               'languages'
         14        OP_DATA                                                  !0
   17    15        ASSIGN_OBJ                                               'defaultLanguage'
         16        OP_DATA                                                  !1
   18    17        ASSIGN_OBJ                                               'uriBase'
         18        OP_DATA                                                  !2
   19    19        INIT_FCALL                                               'preg_quote'
         20        FETCH_OBJ_R                                      ~11     'uriBase'
         21        SEND_VAL                                                 ~11
         22        DO_ICALL                                         $12     
         23        CONCAT                                           ~13     '%28%5E%28', $12
         24        CONCAT                                           ~14     ~13, '%29%2F%28'
         25        INIT_FCALL                                               'implode'
         26        SEND_VAL                                                 '%7C'
         27        SEND_VAR                                                 !0
         28        DO_ICALL                                         $15     
         29        CONCAT                                           ~16     ~14, $15
         30        CONCAT                                           ~17     ~16, '%29%28.%2A%29%29'
         31        ASSIGN_OBJ                                               'regex'
         32        OP_DATA                                                  ~17
   20    33      > RETURN                                                   null
End of function __construct
Function resolve:
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 16
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/tvkcW
function name:  resolve
number of ops:  22
compiled vars:  !0 = $uri, !1 = $language, !2 = $match
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   22     0  E >   RECV                                             !0      
   24     1        FETCH_OBJ_R                                      ~3      'defaultLanguage'
          2        ASSIGN                                                   !1, ~3
   26     3        INIT_FCALL                                               'preg_match'
          4        FETCH_OBJ_R                                      ~5      'regex'
          5        SEND_VAL                                                 ~5
          6        SEND_VAR                                                 !0
          7        SEND_REF                                                 !2
          8        DO_ICALL                                         $6      
          9      > JMPZ                                                     $6, ->16
   27    10    >   FETCH_DIM_R                                      ~7      !2, 2
         11        ASSIGN                                                   !1, ~7
   28    12        FETCH_DIM_R                                      ~9      !2, 1
         13        FETCH_DIM_R                                      ~10     !2, 3
         14        CONCAT                                           ~11     ~9, ~10
         15        ASSIGN                                                   !0, ~11
   31    16    >   INIT_ARRAY                                       ~13     !1
         17        ADD_ARRAY_ELEMENT                                ~13     !0
         18        VERIFY_RETURN_TYPE                                       ~13
         19      > RETURN                                                   ~13
   32    20*       VERIFY_RETURN_TYPE                                       
         21*     > RETURN                                                   null
End of function resolve
End of class UriLanguageResolver.
Generated using Vulcan Logic Dumper, using php 8.0.0