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.PHP_EOL; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 16
Branch analysis from position: 16
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 4
Branch analysis from position: 18
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 18, Position 2 = 4
Branch analysis from position: 18
Branch analysis from position: 4
filename:       /in/K4RbX
function name:  (null)
number of ops:  19
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                                                      ->16
    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        CONCAT                                           ~15     ~14, '%0A'
         14        ECHO                                                     ~15
    4    15        PRE_INC                                                  !2
         16    >   IS_SMALLER                                               !2, 100
         17      > JMPNZ                                                    ~17, ->4
    8    18    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
205.07 ms | 1394 KiB | 13 Q