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/d83FX
function name:  (null)
number of ops:  31
compiled vars:  !0 = $a, !1 = $i, !2 = $j, !3 = $ss, !4 = $s, !5 = $ch
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                                           ~11     'ch', !3
          6        ASSIGN                                                   !5, ~11
    8     7        CONCAT                                           ~13     '%24', !5
          8        ASSIGN                                                   !5, ~13
    9     9        FETCH_W                      local               $15     !5
         10        ASSIGN                                                   $15, <array>
   10    11      > JMP                                                      ->28
   13    12    > > JMP                                                      ->25
   15    13    >   CONCAT                                           ~19     !0, '-'
         14        CONCAT                                           ~20     ~19, !1
         15        CONCAT                                           ~21     ~20, '-'
         16        CONCAT                                           ~22     ~21, !2
         17        FETCH_W                      local               $17     !5
         18        ASSIGN_DIM                                               $17, !4
         19        OP_DATA                                                  ~22
   16    20        MOD                                              ~23     !2, 4
         21        IS_EQUAL                                                 ~23, 0
         22      > JMPZ                                                     ~24, ->24
   18    23    >   PRE_INC                                                  !4
   21    24    >   PRE_INC                                                  !2
   13    25    >   IS_SMALLER                                               !2, 13
         26      > JMPNZ                                                    ~27, ->13
   23    27    >   PRE_INC                                                  !1
   10    28    >   IS_SMALLER                                               !1, 4
         29      > JMPNZ                                                    ~29, ->12
   27    30    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.22 ms | 940 KiB | 14 Q