3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.55 ms | 1398 KiB | 13 Q