3v4l.org

run code in 500+ PHP versions simultaneously
<?php $a = 5; $i = 1; if ($a == 5): ?> <?php while ($i <= 10): ?> Testo <?php $i++; endwhile; else: ?> non presente <?php endif;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 10
Branch analysis from position: 4
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 5
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 5
Branch analysis from position: 9
Branch analysis from position: 5
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/1m9p4
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $i
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                       !0, 5
    3     1        ASSIGN                                                       !1, 1
    4     2        IS_EQUAL                                                     !0, 5
          3      > JMPZ                                                         ~4, ->10
    5     4    > > JMP                                                          ->7
    6     5    >   ECHO                                                         '++++Testo%0A'
    7     6        PRE_INC                                                      !1
    5     7    >   IS_SMALLER_OR_EQUAL                                          !1, 10
          8      > JMPNZ                                                        ~6, ->5
    4     9    > > JMP                                                          ->11
   10    10    >   ECHO                                                         '++++non+presente%0A'
   12    11    > > RETURN                                                       1

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
156.9 ms | 2117 KiB | 13 Q