3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "A-MTP-"; $i = 1; $j=1; $s=1; while ($i < 4) { $ch="$ch" ; $ch=$ch."".$s; $$ch[]=""; while($j < 13) { $j++; } $i++; }
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 = 5
Branch analysis from position: 20
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 14
Branch analysis from position: 17
2 jumps found. (Code = 44) Position 1 = 20, Position 2 = 5
Branch analysis from position: 20
Branch analysis from position: 5
Branch analysis from position: 14
2 jumps found. (Code = 44) Position 1 = 17, Position 2 = 14
Branch analysis from position: 17
Branch analysis from position: 14
filename:       /in/SjCpn
function name:  (null)
number of ops:  21
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                                                      ->18
    8     5    >   CAST                                          6  ~9      !4
          6        ASSIGN                                                   !4, ~9
    9     7        CONCAT                                           ~11     !4, ''
          8        CONCAT                                           ~12     ~11, !3
          9        ASSIGN                                                   !4, ~12
   10    10        FETCH_W                      local               $14     !4
         11        ASSIGN_DIM                                               $14
         12        OP_DATA                                                  ''
   11    13      > JMP                                                      ->15
   13    14    >   PRE_INC                                                  !2
   11    15    >   IS_SMALLER                                               !2, 13
         16      > JMPNZ                                                    ~17, ->14
   15    17    >   PRE_INC                                                  !1
    6    18    >   IS_SMALLER                                               !1, 4
         19      > JMPNZ                                                    ~19, ->5
   17    20    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.51 ms | 1394 KiB | 13 Q