3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
170.54 ms | 1385 KiB | 13 Q