3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = 1; $y = 1; $xBonus = $y*0.025; $yBonus = $x*1.4; for($i=1;$i<100;$i++){ $xBonus = $yBonus * 0.025; $yBonus = $xBonus * 1.4; echo 'x-bonus: '. $xBonus . ', y-bonus: '.$yBonus."\n"; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 8
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 8
Branch analysis from position: 20
Branch analysis from position: 8
filename:       /in/VrhaW
function name:  (null)
number of ops:  21
compiled vars:  !0 = $x, !1 = $y, !2 = $xBonus, !3 = $yBonus, !4 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 1
    3     1        ASSIGN                                                   !1, 1
    4     2        MUL                                              ~7      !1, 0.025
          3        ASSIGN                                                   !2, ~7
    5     4        MUL                                              ~9      !0, 1.4
          5        ASSIGN                                                   !3, ~9
    7     6        ASSIGN                                                   !4, 1
          7      > JMP                                                      ->18
    8     8    >   MUL                                              ~12     !3, 0.025
          9        ASSIGN                                                   !2, ~12
    9    10        MUL                                              ~14     !2, 1.4
         11        ASSIGN                                                   !3, ~14
   10    12        CONCAT                                           ~16     'x-bonus%3A+', !2
         13        CONCAT                                           ~17     ~16, '%2C+y-bonus%3A+'
         14        CONCAT                                           ~18     ~17, !3
         15        CONCAT                                           ~19     ~18, '%0A'
         16        ECHO                                                     ~19
    7    17        PRE_INC                                                  !4
         18    >   IS_SMALLER                                               !4, 100
         19      > JMPNZ                                                    ~21, ->8
   11    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.68 ms | 1393 KiB | 13 Q