3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.84 ms | 1394 KiB | 13 Q