3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($y=2000;$y<2100;$y++){ for ($d=58;$d<61;$d++) { $dt = DateTime::createFromFormat ('z.Y', $d.'.'.$y ); $dd = $dt->format ('d.m.Y'); echo "$d $dd\n"; } } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 2
Branch analysis from position: 26
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 4
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 2
Branch analysis from position: 26
Branch analysis from position: 2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 23, Position 2 = 4
Branch analysis from position: 23
Branch analysis from position: 4
filename:       /in/5iQdE
function name:  (null)
number of ops:  27
compiled vars:  !0 = $y, !1 = $d, !2 = $dt, !3 = $dd
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 2000
          1      > JMP                                                      ->24
    3     2    >   ASSIGN                                                   !1, 58
          3      > JMP                                                      ->21
    4     4    >   INIT_STATIC_METHOD_CALL                                  'DateTime', 'createFromFormat'
          5        SEND_VAL                                                 'z.Y'
          6        CONCAT                                           ~6      !1, '.'
          7        CONCAT                                           ~7      ~6, !0
          8        SEND_VAL                                                 ~7
          9        DO_FCALL                                      0  $8      
         10        ASSIGN                                                   !2, $8
    5    11        INIT_METHOD_CALL                                         !2, 'format'
         12        SEND_VAL_EX                                              'd.m.Y'
         13        DO_FCALL                                      0  $10     
         14        ASSIGN                                                   !3, $10
    6    15        ROPE_INIT                                     4  ~13     !1
         16        ROPE_ADD                                      1  ~13     ~13, '+'
         17        ROPE_ADD                                      2  ~13     ~13, !3
         18        ROPE_END                                      3  ~12     ~13, '%0A'
         19        ECHO                                                     ~12
    3    20        PRE_INC                                                  !1
         21    >   IS_SMALLER                                               !1, 61
         22      > JMPNZ                                                    ~16, ->4
    2    23    >   PRE_INC                                                  !0
         24    >   IS_SMALLER                                               !0, 2100
         25      > JMPNZ                                                    ~18, ->2
    9    26    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.29 ms | 1395 KiB | 13 Q