3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.3 ms | 1393 KiB | 13 Q