3v4l.org

run code in 300+ PHP versions simultaneously
<?php $y=0; $x=1; while($x<=20){ $y += $x; $x++; } print "<p> y is $y </p>";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 5
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 3
Branch analysis from position: 7
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 44) Position 1 = 7, Position 2 = 3
Branch analysis from position: 7
Branch analysis from position: 3
filename:       /in/EIPdh
function name:  (null)
number of ops:  12
compiled vars:  !0 = $y, !1 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 0
    4     1        ASSIGN                                                   !1, 1
    5     2      > JMP                                                      ->5
    6     3    >   ASSIGN_OP                                     1          !0, !1
    7     4        PRE_INC                                                  !1
    5     5    >   IS_SMALLER_OR_EQUAL                                      !1, 20
          6      > JMPNZ                                                    ~6, ->3
   10     7    >   ROPE_INIT                                     3  ~8      '%3Cp%3E+y+is+'
          8        ROPE_ADD                                      1  ~8      ~8, !0
          9        ROPE_END                                      2  ~7      ~8, '+%3C%2Fp%3E'
         10        ECHO                                                     ~7
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.73 ms | 1393 KiB | 13 Q