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 = 13, Position 2 = 40
Branch analysis from position: 13
2 jumps found. (Code = 78) Position 1 = 14, Position 2 = 40
Branch analysis from position: 14
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
Branch analysis from position: 40
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 40
filename:       /in/5Wps0
function name:  (null)
number of ops:  42
compiled vars:  !0 = $sunday, !1 = $date, !2 = $dow, !3 = $weekday
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $4      'DateTimeImmutable'
          1        SEND_VAL_EX                                              'Sunday'
          2        DO_FCALL                                      0          
          3        ASSIGN                                                   !0, $4
    5     4        NEW                                              $7      'DatePeriod'
          5        SEND_VAR_EX                                              !0
          6        NEW                                              $8      'DateInterval'
          7        SEND_VAL_EX                                              'P1D'
          8        DO_FCALL                                      0          
          9        SEND_VAR_NO_REF_EX                                       $8
         10        SEND_VAL_EX                                              6
         11        DO_FCALL                                      0          
         12      > FE_RESET_R                                       $11     $7, ->40
         13    > > FE_FETCH_R                                               $11, !1, ->40
    6    14    >   INIT_METHOD_CALL                                         !1, 'format'
         15        SEND_VAL_EX                                              'w'
         16        DO_FCALL                                      0  $12     
         17        ASSIGN                                                   !2, $12
    7    18        INIT_METHOD_CALL                                         !0, 'add'
         19        NEW                                              $14     'DateInterval'
         20        CONCAT                                           ~15     'P', !2
         21        CONCAT                                           ~16     ~15, 'D'
         22        SEND_VAL_EX                                              ~16
         23        DO_FCALL                                      0          
         24        SEND_VAR_NO_REF_EX                                       $14
         25        DO_FCALL                                      0  $18     
         26        ASSIGN                                                   !3, $18
    9    27        INIT_FCALL                                               'printf'
         28        SEND_VAL                                                 '%25s+%3D+%25s+%28%25s%29%0A'
         29        SEND_VAR                                                 !2
         30        INIT_METHOD_CALL                                         !3, 'format'
         31        SEND_VAL_EX                                              'l'
         32        DO_FCALL                                      0  $20     
         33        SEND_VAR                                                 $20
         34        INIT_METHOD_CALL                                         !3, 'format'
         35        SEND_VAL_EX                                              'D'
         36        DO_FCALL                                      0  $21     
         37        SEND_VAR                                                 $21
         38        DO_ICALL                                                 
    5    39      > JMP                                                      ->13
         40    >   FE_FREE                                                  $11
   10    41      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
235.7 ms | 972 KiB | 14 Q