3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "A-MTP-"; $i = 1; $j=1; $s=1; while ($i < 4) { $ch="ch".$s ; $ch= "$".$ch; $$ch =array(); while($j < 13) { $$ch[$s] = $a."-".$i."-".$j ; if($j % 4 == 0) { $s++; } $j++; } $i++; } print_r($$ch1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 27
Branch analysis from position: 27
2 jumps found. (Code = 44) Position 1 = 29, Position 2 = 5
Branch analysis from position: 29
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 24
Branch analysis from position: 24
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 12
Branch analysis from position: 26
2 jumps found. (Code = 44) Position 1 = 29, Position 2 = 5
Branch analysis from position: 29
Branch analysis from position: 5
Branch analysis from position: 12
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 23
Branch analysis from position: 22
2 jumps found. (Code = 44) Position 1 = 26, Position 2 = 12
Branch analysis from position: 26
Branch analysis from position: 12
Branch analysis from position: 23
filename:       /in/I7jCq
function name:  (null)
number of ops:  34
compiled vars:  !0 = $a, !1 = $i, !2 = $j, !3 = $s, !4 = $ch, !5 = $ch1
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'A-MTP-'
    3     1        ASSIGN                                                   !1, 1
    4     2        ASSIGN                                                   !2, 1
    5     3        ASSIGN                                                   !3, 1
    6     4      > JMP                                                      ->27
    8     5    >   CONCAT                                           ~10     'ch', !3
          6        ASSIGN                                                   !4, ~10
    9     7        CONCAT                                           ~12     '%24', !4
          8        ASSIGN                                                   !4, ~12
   10     9        FETCH_W                      local               $14     !4
         10        ASSIGN                                                   $14, <array>
   11    11      > JMP                                                      ->24
   13    12    >   CONCAT                                           ~18     !0, '-'
         13        CONCAT                                           ~19     ~18, !1
         14        CONCAT                                           ~20     ~19, '-'
         15        CONCAT                                           ~21     ~20, !2
         16        FETCH_W                      local               $16     !4
         17        ASSIGN_DIM                                               $16, !3
         18        OP_DATA                                                  ~21
   14    19        MOD                                              ~22     !2, 4
         20        IS_EQUAL                                                 ~22, 0
         21      > JMPZ                                                     ~23, ->23
   16    22    >   PRE_INC                                                  !3
   19    23    >   PRE_INC                                                  !2
   11    24    >   IS_SMALLER                                               !2, 13
         25      > JMPNZ                                                    ~26, ->12
   21    26    >   PRE_INC                                                  !1
    6    27    >   IS_SMALLER                                               !1, 4
         28      > JMPNZ                                                    ~28, ->5
   25    29    >   INIT_FCALL                                               'print_r'
         30        FETCH_R                      local               ~29     !5
         31        SEND_VAL                                                 ~29
         32        DO_ICALL                                                 
         33      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
169.58 ms | 1396 KiB | 15 Q