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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.11 ms | 1394 KiB | 13 Q