3v4l.org

run code in 300+ PHP versions simultaneously
<?php $week_start = new DateTime(); $week_start->setISODate($year,$week_no); echo $week_start->format('d-M-Y');
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/Rp1FG
function name:  (null)
number of ops:  12
compiled vars:  !0 = $week_start, !1 = $year, !2 = $week_no
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $3      'DateTime'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $3
    4     3        INIT_METHOD_CALL                                         !0, 'setISODate'
          4        SEND_VAR_EX                                              !1
          5        SEND_VAR_EX                                              !2
          6        DO_FCALL                                      0          
    5     7        INIT_METHOD_CALL                                         !0, 'format'
          8        SEND_VAL_EX                                              'd-M-Y'
          9        DO_FCALL                                      0  $7      
         10        ECHO                                                     $7
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
136.76 ms | 1392 KiB | 13 Q