3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i = 0; $hitungLoopingObat= 7; do{ $remainder = ($i+1) % 5; echo "The number is " . $i . "\n"; if( $remainder == 0) { echo "new line \n"; } $i++; } while($i <= $hitungLoopingObat); if($remainder > 0){ $loncat = (5 - $remainder)+$hitungLoopingObat; for($j=0; $j<$loncat; $j++) { echo "new line \n"; } }
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 11
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 2
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 16, Position 2 = 25
Branch analysis from position: 16
1 jumps found. (Code = 42) Position 1 = 23
Branch analysis from position: 23
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 21
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 21
Branch analysis from position: 25
Branch analysis from position: 21
Branch analysis from position: 25
Branch analysis from position: 2
Branch analysis from position: 11
filename:       /in/V1gmq
function name:  (null)
number of ops:  26
compiled vars:  !0 = $i, !1 = $hitungLoopingObat, !2 = $remainder, !3 = $loncat, !4 = $j
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, 7
    7     2    >   ADD                                              ~7      !0, 1
          3        MOD                                              ~8      ~7, 5
          4        ASSIGN                                                   !2, ~8
    9     5        CONCAT                                           ~10     'The+number+is+', !0
          6        CONCAT                                           ~11     ~10, '%0A'
          7        ECHO                                                     ~11
   11     8        IS_EQUAL                                                 !2, 0
          9      > JMPZ                                                     ~12, ->11
   12    10    >   ECHO                                                     'new+line+%0A'
   15    11    >   PRE_INC                                                  !0
   18    12        IS_SMALLER_OR_EQUAL                                      !0, !1
         13      > JMPNZ                                                    ~14, ->2
   19    14    >   IS_SMALLER                                               0, !2
         15      > JMPZ                                                     ~15, ->25
   20    16    >   SUB                                              ~16     5, !2
         17        ADD                                              ~17     ~16, !1
         18        ASSIGN                                                   !3, ~17
   22    19        ASSIGN                                                   !4, 0
         20      > JMP                                                      ->23
   24    21    >   ECHO                                                     'new+line+%0A'
   22    22        PRE_INC                                                  !4
         23    >   IS_SMALLER                                               !4, !3
         24      > JMPNZ                                                    ~21, ->21
   27    25    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.11 ms | 1395 KiB | 13 Q