3v4l.org

run code in 300+ PHP versions simultaneously
<?php $month = 4; $i = 0; do{ $month = ($month % 12); var_dump(year); $i++; if($i > 25) break; }while(true);
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 12
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 2
Branch analysis from position: 13
Branch analysis from position: 2
filename:       /in/rqCEB
function name:  (null)
number of ops:  14
compiled vars:  !0 = $month, !1 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 4
    4     1        ASSIGN                                                   !1, 0
    8     2    >   MOD                                              ~4      !0, 12
          3        ASSIGN                                                   !0, ~4
    9     4        INIT_FCALL                                               'var_dump'
          5        FETCH_CONSTANT                                   ~6      'year'
          6        SEND_VAL                                                 ~6
          7        DO_ICALL                                                 
   11     8        PRE_INC                                                  !1
   12     9        IS_SMALLER                                               25, !1
         10      > JMPZ                                                     ~9, ->12
         11    > > JMP                                                      ->13
   14    12    > > JMPNZ                                                    <true>, ->2
         13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.65 ms | 1394 KiB | 15 Q