3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.43 ms | 1400 KiB | 15 Q