3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
142.01 ms | 997 KiB | 13 Q