3v4l.org

run code in 300+ PHP versions simultaneously
<?php mb_internal_encoding ('utf-8'); $start=10000; $age=16; $percent=1.1; $y=1; for($i; $i<20; $i++){ $start = $start * $percent; $y ++; $age ++; } echo $age;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 8
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 8
Branch analysis from position: 15
Branch analysis from position: 8
filename:       /in/COWUJ
function name:  (null)
number of ops:  17
compiled vars:  !0 = $start, !1 = $age, !2 = $percent, !3 = $y, !4 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'mb_internal_encoding'
          1        SEND_VAL                                                 'utf-8'
          2        DO_ICALL                                                 
    5     3        ASSIGN                                                   !0, 10000
    6     4        ASSIGN                                                   !1, 16
    7     5        ASSIGN                                                   !2, 1.1
    8     6        ASSIGN                                                   !3, 1
   10     7      > JMP                                                      ->13
   11     8    >   MUL                                              ~10     !0, !2
          9        ASSIGN                                                   !0, ~10
   12    10        PRE_INC                                                  !3
   13    11        PRE_INC                                                  !1
   10    12        PRE_INC                                                  !4
         13    >   IS_SMALLER                                               !4, 20
         14      > JMPNZ                                                    ~15, ->8
   15    15    >   ECHO                                                     !1
         16      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.99 ms | 1395 KiB | 15 Q