3v4l.org

run code in 300+ PHP versions simultaneously
<?php $name = 'Duane'; $monthsAtMSE = 8; $loopCount = 10; while($loopCount > 0){ if($monthsAtMSE < 12){ echo $name . " has been at MSE for " . $monthsAtMSE . " months <br>"; } $monthsAtMSE = $monthsAtMSE + 1; $loopCount = $loopCount - 1; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 14
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 4
Branch analysis from position: 16
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 10
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 16, Position 2 = 4
Branch analysis from position: 16
Branch analysis from position: 4
Branch analysis from position: 10
filename:       /in/2e3IT
function name:  (null)
number of ops:  17
compiled vars:  !0 = $name, !1 = $monthsAtMSE, !2 = $loopCount
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'Duane'
    4     1        ASSIGN                                                   !1, 8
    6     2        ASSIGN                                                   !2, 10
    8     3      > JMP                                                      ->14
    9     4    >   IS_SMALLER                                               !1, 12
          5      > JMPZ                                                     ~6, ->10
   10     6    >   CONCAT                                           ~7      !0, '+has+been+at+MSE+for+'
          7        CONCAT                                           ~8      ~7, !1
          8        CONCAT                                           ~9      ~8, '+months+%3Cbr%3E'
          9        ECHO                                                     ~9
   13    10    >   ADD                                              ~10     !1, 1
         11        ASSIGN                                                   !1, ~10
   14    12        SUB                                              ~12     !2, 1
         13        ASSIGN                                                   !2, ~12
    8    14    >   IS_SMALLER                                               0, !2
         15      > JMPNZ                                                    ~14, ->4
   15    16    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.45 ms | 1393 KiB | 13 Q