3v4l.org

run code in 300+ PHP versions simultaneously
<?php $d =getdate(); for($i=1;$i<=12;$i++){ if($i==$d["mon"]){ var_dump($d); } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 5
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 11
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 5
Branch analysis from position: 14
Branch analysis from position: 5
Branch analysis from position: 11
filename:       /in/LUnIv
function name:  (null)
number of ops:  15
compiled vars:  !0 = $d, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'getdate'
          1        DO_ICALL                                         $2      
          2        ASSIGN                                                   !0, $2
    5     3        ASSIGN                                                   !1, 1
          4      > JMP                                                      ->12
    6     5    >   FETCH_DIM_R                                      ~5      !0, 'mon'
          6        IS_EQUAL                                                 !1, ~5
          7      > JMPZ                                                     ~6, ->11
    7     8    >   INIT_FCALL                                               'var_dump'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
    5    11    >   PRE_INC                                                  !1
         12    >   IS_SMALLER_OR_EQUAL                                      !1, 12
         13      > JMPNZ                                                    ~9, ->5
    9    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.94 ms | 1395 KiB | 17 Q