3v4l.org

run code in 300+ PHP versions simultaneously
<?php for($i=5;$i>=1;$i--){ for($j=$i+1;$j<=5;$j++){ echo $j; } echo "\n"; } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 2
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
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
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 2
Branch analysis from position: 13
Branch analysis from position: 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
filename:       /in/GkGhQ
function name:  (null)
number of ops:  14
compiled vars:  !0 = $i, !1 = $j
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 5
          1      > JMP                                                      ->11
    3     2    >   ADD                                              ~3      !0, 1
          3        ASSIGN                                                   !1, ~3
          4      > JMP                                                      ->7
    4     5    >   ECHO                                                     !1
    3     6        PRE_INC                                                  !1
          7    >   IS_SMALLER_OR_EQUAL                                      !1, 5
          8      > JMPNZ                                                    ~6, ->5
    6     9    >   ECHO                                                     '%0A'
    2    10        PRE_DEC                                                  !0
         11    >   IS_SMALLER_OR_EQUAL                                      1, !0
         12      > JMPNZ                                                    ~8, ->2
    8    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.26 ms | 1393 KiB | 13 Q