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 = 41
Branch analysis from position: 20
2 jumps found. (Code = 78) Position 1 = 21, Position 2 = 41
Branch analysis from position: 21
1 jumps found. (Code = 42) Position 1 = 20
Branch analysis from position: 20
Branch analysis from position: 41
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 41
filename:       /in/CidUa
function name:  (null)
number of ops:  43
compiled vars:  !0 = $year, !1 = $period, !2 = $date, !3 = $firstDay, !4 = $lastDay
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 2015
    5     1        NEW                                              $6      'DatePeriod'
    6     2        NEW                                              $7      'DateTime'
          3        CONCAT                                           ~8      !0, '-01-01'
          4        SEND_VAL_EX                                              ~8
          5        DO_FCALL                                      0          
          6        SEND_VAR_NO_REF_EX                                       $7
    7     7        NEW                                              $10     'DateInterval'
          8        SEND_VAL_EX                                              'P1M'
          9        DO_FCALL                                      0          
         10        SEND_VAR_NO_REF_EX                                       $10
    8    11        NEW                                              $12     'DateTime'
         12        ADD                                              ~13     !0, 1
         13        CONCAT                                           ~14     ~13, '-01-01'
         14        SEND_VAL_EX                                              ~14
         15        DO_FCALL                                      0          
         16        SEND_VAR_NO_REF_EX                                       $12
    5    17        DO_FCALL                                      0          
         18        ASSIGN                                                   !1, $6
   11    19      > FE_RESET_R                                       $18     !1, ->41
         20    > > FE_FETCH_R                                               $18, !2, ->41
   12    21    >   INIT_METHOD_CALL                                         !2, 'modify'
         22        SEND_VAL_EX                                              'first+day+of+this+month'
         23        DO_FCALL                                      0  $19     
         24        INIT_METHOD_CALL                                         $19, 'format'
         25        SEND_VAL_EX                                              'Y%2Fm%2Fd'
         26        DO_FCALL                                      0  $20     
         27        ASSIGN                                                   !3, $20
   13    28        INIT_METHOD_CALL                                         !2, 'modify'
         29        SEND_VAL_EX                                              'last+day+of+this+month'
         30        DO_FCALL                                      0  $22     
         31        INIT_METHOD_CALL                                         $22, 'format'
         32        SEND_VAL_EX                                              'Y%2Fm%2Fd'
         33        DO_FCALL                                      0  $23     
         34        ASSIGN                                                   !4, $23
   15    35        ROPE_INIT                                     4  ~26     !3
         36        ROPE_ADD                                      1  ~26     ~26, '+-+'
         37        ROPE_ADD                                      2  ~26     ~26, !4
         38        ROPE_END                                      3  ~25     ~26, '+%0A'
         39        ECHO                                                     ~25
   11    40      > JMP                                                      ->20
         41    >   FE_FREE                                                  $18
   16    42      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
241.87 ms | 971 KiB | 13 Q