3v4l.org

run code in 300+ PHP versions simultaneously
<?php $count = 0; $x = 0; $y = 1; echo $x."<br />"; echo $y."<br />"; while($count < 100) { $z = $x + $y; echo $z."<br />"; $x = $y; $y = $z; $count ++; }
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 = 8
Branch analysis from position: 17
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 8
Branch analysis from position: 17
Branch analysis from position: 8
filename:       /in/uHq9U
function name:  (null)
number of ops:  18
compiled vars:  !0 = $count, !1 = $x, !2 = $y, !3 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1        ASSIGN                                                   !1, 0
    4     2        ASSIGN                                                   !2, 1
    6     3        CONCAT                                           ~7      !1, '%3Cbr+%2F%3E'
          4        ECHO                                                     ~7
    7     5        CONCAT                                           ~8      !2, '%3Cbr+%2F%3E'
          6        ECHO                                                     ~8
    9     7      > JMP                                                      ->15
   10     8    >   ADD                                              ~9      !1, !2
          9        ASSIGN                                                   !3, ~9
   11    10        CONCAT                                           ~11     !3, '%3Cbr+%2F%3E'
         11        ECHO                                                     ~11
   12    12        ASSIGN                                                   !1, !2
   13    13        ASSIGN                                                   !2, !3
   14    14        PRE_INC                                                  !0
    9    15    >   IS_SMALLER                                               !0, 100
         16      > JMPNZ                                                    ~15, ->8
   15    17    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.92 ms | 1394 KiB | 13 Q