3v4l.org

run code in 300+ PHP versions simultaneously
<?php $exemple = array(); for ($j = 1; $j <= 3; $j++) { $tab = array(); for ($i = 1; $i <= 10; $i++) { array_push($tab, $i); } array_push($exemple, $tab); } print_r ($exemple); ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 18
Branch analysis from position: 18
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 3
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 6
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 3
Branch analysis from position: 20
Branch analysis from position: 3
Branch analysis from position: 6
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 6
Branch analysis from position: 13
Branch analysis from position: 6
filename:       /in/FFkq0
function name:  (null)
number of ops:  24
compiled vars:  !0 = $exemple, !1 = $j, !2 = $tab, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, 1
          2      > JMP                                                      ->18
    6     3    >   ASSIGN                                                   !2, <array>
    7     4        ASSIGN                                                   !3, 1
          5      > JMP                                                      ->11
    8     6    >   INIT_FCALL                                               'array_push'
          7        SEND_REF                                                 !2
          8        SEND_VAR                                                 !3
          9        DO_ICALL                                                 
    7    10        PRE_INC                                                  !3
         11    >   IS_SMALLER_OR_EQUAL                                      !3, 10
         12      > JMPNZ                                                    ~10, ->6
   10    13    >   INIT_FCALL                                               'array_push'
         14        SEND_REF                                                 !0
         15        SEND_VAR                                                 !2
         16        DO_ICALL                                                 
    5    17        PRE_INC                                                  !1
         18    >   IS_SMALLER_OR_EQUAL                                      !1, 3
         19      > JMPNZ                                                    ~13, ->3
   13    20    >   INIT_FCALL                                               'print_r'
         21        SEND_VAR                                                 !0
         22        DO_ICALL                                                 
   28    23      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
171.04 ms | 1387 KiB | 17 Q