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 = ""; while($j < 13) { $j++; } $i++;$s++; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 17
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 5
Branch analysis from position: 19
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 12
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 19, Position 2 = 5
Branch analysis from position: 19
Branch analysis from position: 5
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 12
Branch analysis from position: 15
Branch analysis from position: 12
filename:       /in/Or8W2
function name:  (null)
number of ops:  20
compiled vars:  !0 = $a, !1 = $i, !2 = $j, !3 = $s, !4 = $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      > JMP                                                      ->17
    8     5    >   CONCAT                                           ~9      'ch', !3
          6        ASSIGN                                                   !4, ~9
    9     7        CONCAT                                           ~11     '%24', !4
          8        ASSIGN                                                   !4, ~11
   10     9        FETCH_W                      local               $13     !4
         10        ASSIGN                                                   $13, ''
   11    11      > JMP                                                      ->13
   13    12    >   PRE_INC                                                  !2
   11    13    >   IS_SMALLER                                               !2, 13
         14      > JMPNZ                                                    ~16, ->12
   15    15    >   PRE_INC                                                  !1
         16        PRE_INC                                                  !3
    6    17    >   IS_SMALLER                                               !1, 4
         18      > JMPNZ                                                    ~19, ->5
   17    19    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.06 ms | 1394 KiB | 13 Q