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 = 54
Branch analysis from position: 54
2 jumps found. (Code = 44) Position 1 = 55, Position 2 = 3
Branch analysis from position: 55
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 47) Position 1 = 24, Position 2 = 41
Branch analysis from position: 24
2 jumps found. (Code = 44) Position 1 = 42, Position 2 = 4
Branch analysis from position: 42
2 jumps found. (Code = 43) Position 1 = 45, Position 2 = 50
Branch analysis from position: 45
1 jumps found. (Code = 42) Position 1 = 51
Branch analysis from position: 51
2 jumps found. (Code = 44) Position 1 = 55, Position 2 = 3
Branch analysis from position: 55
Branch analysis from position: 3
Branch analysis from position: 50
2 jumps found. (Code = 44) Position 1 = 55, Position 2 = 3
Branch analysis from position: 55
Branch analysis from position: 3
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 9
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 47) Position 1 = 24, Position 2 = 41
Branch analysis from position: 24
Branch analysis from position: 41
Branch analysis from position: 9
2 jumps found. (Code = 47) Position 1 = 24, Position 2 = 41
Branch analysis from position: 24
Branch analysis from position: 41
Branch analysis from position: 41
filename:       /in/8Eeo4
function name:  (null)
number of ops:  59
compiled vars:  !0 = $dates, !1 = $copy, !2 = $range, !3 = $result
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
   13     1        ASSIGN                                                   !1, !0
   14     2      > JMP                                                      ->54
   15     3    > > JMP                                                      ->21
   16     4    >   ISSET_ISEMPTY_CV                                 ~6      !2
          5        BOOL_NOT                                         ~7      ~6
          6      > JMPZ                                                     ~7, ->9
          7    >   QM_ASSIGN                                        ~8      ''
          8      > JMP                                                      ->16
          9    >   INIT_FCALL                                               'substr'
         10        SEND_VAR                                                 !2
         11        SEND_VAL                                                 0
         12        SEND_VAL                                                 10
         13        DO_ICALL                                         $9      
         14        CONCAT                                           ~10     $9, '+to+'
         15        QM_ASSIGN                                        ~8      ~10
         16    >   INIT_FCALL                                               'array_shift'
         17        SEND_REF                                                 !1
         18        DO_ICALL                                         $11     
         19        CONCAT                                           ~12     ~8, $11
         20        ASSIGN                                                   !2, ~12
   15    21    >   ISSET_ISEMPTY_CV                                 ~14     !2
         22        BOOL_NOT                                         ~15     ~14
         23      > JMPNZ_EX                                         ~15     ~15, ->41
         24    >   INIT_FCALL                                               'current'
         25        SEND_VAR                                                 !1
         26        DO_ICALL                                         $16     
         27        INIT_FCALL                                               'date'
         28        SEND_VAL                                                 'Y-m-d'
         29        INIT_FCALL                                               'strtotime'
         30        INIT_FCALL                                               'substr'
         31        SEND_VAR                                                 !2
         32        SEND_VAL                                                 -10
         33        DO_ICALL                                         $17     
         34        CONCAT                                           ~18     $17, '+%2B1+day'
         35        SEND_VAL                                                 ~18
         36        DO_ICALL                                         $19     
         37        SEND_VAR                                                 $19
         38        DO_ICALL                                         $20     
         39        IS_EQUAL                                         ~21     $16, $20
         40        BOOL                                             ~15     ~21
         41    > > JMPNZ                                                    ~15, ->4
   18    42    >   STRLEN                                           ~23     !2
         43        IS_EQUAL                                                 ~23, 10
         44      > JMPZ                                                     ~24, ->50
         45    >   ROPE_INIT                                     3  ~26     !2
         46        ROPE_ADD                                      1  ~26     ~26, '+to+'
         47        ROPE_END                                      2  ~25     ~26, !2
         48        QM_ASSIGN                                        ~28     ~25
         49      > JMP                                                      ->51
         50    >   QM_ASSIGN                                        ~28     !2
         51    >   ASSIGN_DIM                                               !3
         52        OP_DATA                                                  ~28
   19    53        UNSET_CV                                                 !2
   14    54    > > JMPNZ                                                    !1, ->3
   21    55    >   INIT_FCALL                                               'var_export'
         56        SEND_VAR                                                 !3
         57        DO_ICALL                                                 
         58      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.17 ms | 977 KiB | 19 Q