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]; } } }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 32
Branch analysis from position: 32
2 jumps found. (Code = 44) Position 1 = 34, Position 2 = 3
Branch analysis from position: 34
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 29
Branch analysis from position: 29
2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 5
Branch analysis from position: 31
2 jumps found. (Code = 44) Position 1 = 34, Position 2 = 3
Branch analysis from position: 34
Branch analysis from position: 3
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 26
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 7
Branch analysis from position: 28
2 jumps found. (Code = 44) Position 1 = 31, Position 2 = 5
Branch analysis from position: 31
Branch analysis from position: 5
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 28, Position 2 = 7
Branch analysis from position: 28
Branch analysis from position: 7
filename:       /in/UJJ8P
function name:  (null)
number of ops:  35
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                                                      ->32
    7     3    >   ASSIGN                                                   !2, 0
          4      > JMP                                                      ->29
    9     5    >   ASSIGN                                                   !3, 0
          6      > JMP                                                      ->26
   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        ECHO                                                     ~21
    9    25        PRE_INC                                                  !3
         26    >   IS_SMALLER                                               !3, 6
         27      > JMPNZ                                                    ~23, ->7
    7    28    >   PRE_INC                                                  !2
         29    >   IS_SMALLER                                               !2, 6
         30      > JMPNZ                                                    ~25, ->5
    5    31    >   PRE_INC                                                  !1
         32    >   IS_SMALLER                                               !1, 6
         33      > JMPNZ                                                    ~27, ->3
   15    34    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.43 ms | 1399 KiB | 13 Q