3v4l.org

run code in 300+ PHP versions simultaneously
<?php $result = Array(); for ($x = 0; $x < 6; $x++) { for ($y = 0; $y < 6; $y++) { for ($z = 0; $z < 6; $z++) { $result[$x][$y][$z] = $x * $y * $z; echo "result[{$x}][{$y}][{$z}] = " . $result[$x][$y][$z] . "\n"; } } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 33
Branch analysis from position: 33
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 3
Branch analysis from position: 35
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 30
Branch analysis from position: 30
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 5
Branch analysis from position: 32
2 jumps found. (Code = 44) Position 1 = 35, Position 2 = 3
Branch analysis from position: 35
Branch analysis from position: 3
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 29, Position 2 = 7
Branch analysis from position: 29
2 jumps found. (Code = 44) Position 1 = 32, Position 2 = 5
Branch analysis from position: 32
Branch analysis from position: 5
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 29, Position 2 = 7
Branch analysis from position: 29
Branch analysis from position: 7
filename:       /in/938Uq
function name:  (null)
number of ops:  36
compiled vars:  !0 = $result, !1 = $x, !2 = $y, !3 = $z
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, 0
          2      > JMP                                                      ->33
    7     3    >   ASSIGN                                                   !2, 0
          4      > JMP                                                      ->30
    9     5    >   ASSIGN                                                   !3, 0
          6      > JMP                                                      ->27
   11     7    >   MUL                                              ~11     !1, !2
          8        MUL                                              ~12     !3, ~11
          9        FETCH_DIM_W                                      $8      !0, !1
         10        FETCH_DIM_W                                      $9      $8, !2
         11        ASSIGN_DIM                                               $9, !3
         12        OP_DATA                                                  ~12
   12    13        ROPE_INIT                                     7  ~14     'result%5B'
         14        ROPE_ADD                                      1  ~14     ~14, !1
         15        ROPE_ADD                                      2  ~14     ~14, '%5D%5B'
         16        ROPE_ADD                                      3  ~14     ~14, !2
         17        ROPE_ADD                                      4  ~14     ~14, '%5D%5B'
         18        ROPE_ADD                                      5  ~14     ~14, !3
         19        ROPE_END                                      6  ~13     ~14, '%5D+%3D+'
         20        FETCH_DIM_R                                      ~18     !0, !1
         21        FETCH_DIM_R                                      ~19     ~18, !2
         22        FETCH_DIM_R                                      ~20     ~19, !3
         23        CONCAT                                           ~21     ~13, ~20
         24        CONCAT                                           ~22     ~21, '%0A'
         25        ECHO                                                     ~22
    9    26        PRE_INC                                                  !3
         27    >   IS_SMALLER                                               !3, 6
         28      > JMPNZ                                                    ~24, ->7
    7    29    >   PRE_INC                                                  !2
         30    >   IS_SMALLER                                               !2, 6
         31      > JMPNZ                                                    ~26, ->5
    5    32    >   PRE_INC                                                  !1
         33    >   IS_SMALLER                                               !1, 6
         34      > JMPNZ                                                    ~28, ->3
   15    35    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.97 ms | 1399 KiB | 13 Q