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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.32 ms | 1394 KiB | 13 Q