3v4l.org

run code in 300+ PHP versions simultaneously
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/L4eln
function name:  (null)
number of ops:  11
compiled vars:  !0 = $lines
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
   34     1        INIT_FCALL                                               'print_r'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                                 
   35     4        INIT_FCALL                                               'print_r'
          5        INIT_FCALL                                               'computeexperiences'
          6        SEND_VAR                                                 !0
          7        DO_FCALL                                      0  $3      
          8        SEND_VAR                                                 $3
          9        DO_ICALL                                                 
         10      > RETURN                                                   1

Function computeexperiences:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 28
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 4
Branch analysis from position: 35
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 46) Position 1 = 12, Position 2 = 18
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 25
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 4
Branch analysis from position: 35
Branch analysis from position: 4
Branch analysis from position: 25
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 4
Branch analysis from position: 35
Branch analysis from position: 4
Branch analysis from position: 18
filename:       /in/L4eln
function name:  computeExperiences
number of ops:  39
compiled vars:  !0 = $lines, !1 = $experiences, !2 = $position, !3 = $experience, !4 = $chunkLines, !5 = $locationIsPresent
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   RECV                                             !0      
   16     1        ASSIGN                                                   !1, <array>
   18     2        ASSIGN                                                   !2, 0
   19     3      > JMP                                                      ->28
   20     4    >   INIT_FCALL                                               'array_slice'
          5        SEND_VAR                                                 !4
          6        SEND_VAL                                                 0
          7        SEND_VAL                                                 3
          8        DO_ICALL                                         $8      
          9        ASSIGN                                                   !3, $8
   21    10        ISSET_ISEMPTY_DIM_OBJ                         0  ~10     !4, 3
         11      > JMPZ_EX                                          ~10     ~10, ->18
         12    >   INIT_FCALL                                               'preg_match'
         13        SEND_VAL                                                 '%2F%5Cw%2B%2C%5Cs%5Cw%2B%28%3F%3A%2C%5Cs%5Cw%2B%29%3F%2F'
         14        FETCH_DIM_R                                      ~11     !4, 3
         15        SEND_VAL                                                 ~11
         16        DO_ICALL                                         $12     
         17        BOOL                                             ~10     $12
         18    >   ASSIGN                                                   !5, ~10
   22    19      > JMPZ                                                     !5, ->25
   23    20    >   FETCH_DIM_R                                      ~15     !4, 3
         21        ASSIGN_DIM                                               !3
         22        OP_DATA                                                  ~15
   24    23        ASSIGN_OP                                     1          !2, 4
   22    24      > JMP                                                      ->26
   26    25    >   ASSIGN_OP                                     1          !2, 3
   28    26    >   ASSIGN_DIM                                               !1
         27        OP_DATA                                                  !3
   19    28    >   INIT_FCALL                                               'array_slice'
         29        SEND_VAR                                                 !0
         30        SEND_VAR                                                 !2
         31        SEND_VAL                                                 4
         32        DO_ICALL                                         $19     
         33        ASSIGN                                           ~20     !4, $19
         34      > JMPNZ                                                    ~20, ->4
   31    35    >   VERIFY_RETURN_TYPE                                       !1
         36      > RETURN                                                   !1
   32    37*       VERIFY_RETURN_TYPE                                       
         38*     > RETURN                                                   null

End of function computeexperiences

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
271.81 ms | 978 KiB | 17 Q