3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo'first 10 no.are:'; for($n=1;$n<=10;$n++) if($n<10) echo "$n.-"; else echo "$n" ?>
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 = 3
Branch analysis from position: 14
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
2 jumps found. (Code = 43) Position 1 = 5, Position 2 = 9
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
Branch analysis from position: 3
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 14, Position 2 = 3
Branch analysis from position: 14
Branch analysis from position: 3
filename:       /in/DEW4i
function name:  (null)
number of ops:  15
compiled vars:  !0 = $n
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ECHO                                                     'first+10++no.are%3A'
    3     1        ASSIGN                                                   !0, 1
          2      > JMP                                                      ->12
    4     3    >   IS_SMALLER                                               !0, 10
          4      > JMPZ                                                     ~2, ->9
    5     5    >   NOP                                                      
          6        FAST_CONCAT                                      ~3      !0, '.-'
          7        ECHO                                                     ~3
          8      > JMP                                                      ->11
    7     9    >   CAST                                          6  ~4      !0
         10        ECHO                                                     ~4
    3    11    >   PRE_INC                                                  !0
         12    >   IS_SMALLER_OR_EQUAL                                      !0, 10
         13      > JMPNZ                                                    ~6, ->3
    9    14    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.56 ms | 1394 KiB | 13 Q