3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo "<h1>Hello, PHP!</h1>"; $x ="10"; $y ="20"; $z ="5"; echo $x; echo $y; echo $z; WHILE ($x > 0) {$x--; echo "$x <br>"; }; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 12
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 8
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 8
Branch analysis from position: 14
Branch analysis from position: 8
filename:       /in/EGPXO
function name:  (null)
number of ops:  15
compiled vars:  !0 = $x, !1 = $y, !2 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     '%3Ch1%3EHello%2C+PHP%21%3C%2Fh1%3E'
    4     1        ASSIGN                                                   !0, '10'
    5     2        ASSIGN                                                   !1, '20'
    6     3        ASSIGN                                                   !2, '5'
    8     4        ECHO                                                     !0
    9     5        ECHO                                                     !1
   10     6        ECHO                                                     !2
   12     7      > JMP                                                      ->12
   13     8    >   PRE_DEC                                                  !0
   14     9        NOP                                                      
         10        FAST_CONCAT                                      ~7      !0, '+%3Cbr%3E'
         11        ECHO                                                     ~7
   12    12    >   IS_SMALLER                                               0, !0
         13      > JMPNZ                                                    ~8, ->8
   16    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
195.56 ms | 1397 KiB | 13 Q