3v4l.org

run code in 300+ PHP versions simultaneously
<?php $week_number = 40; $year = 2008; for($day=1; $day<=7; $day++) { echo date('m/d/Y', strtotime($year."W".$week_number.$day))."\n"; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 4
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 4
Branch analysis from position: 19
Branch analysis from position: 4
filename:       /in/pUVKd
function name:  (null)
number of ops:  20
compiled vars:  !0 = $week_number, !1 = $year, !2 = $day
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 40
    3     1        ASSIGN                                                   !1, 2008
    4     2        ASSIGN                                                   !2, 1
          3      > JMP                                                      ->17
    6     4    >   INIT_FCALL                                               'date'
          5        SEND_VAL                                                 'm%2Fd%2FY'
          6        INIT_FCALL                                               'strtotime'
          7        CONCAT                                           ~6      !1, 'W'
          8        CONCAT                                           ~7      ~6, !0
          9        CONCAT                                           ~8      ~7, !2
         10        SEND_VAL                                                 ~8
         11        DO_ICALL                                         $9      
         12        SEND_VAR                                                 $9
         13        DO_ICALL                                         $10     
         14        CONCAT                                           ~11     $10, '%0A'
         15        ECHO                                                     ~11
    4    16        PRE_INC                                                  !2
         17    >   IS_SMALLER_OR_EQUAL                                      !2, 7
         18      > JMPNZ                                                    ~13, ->4
    8    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
143.83 ms | 1395 KiB | 17 Q