3v4l.org

run code in 300+ PHP versions simultaneously
<?php $letter = 'a'; $counter =0; for ($i=0; $i < 100; $i++) { echo $letter . ' ' . $counter. "\r\n"; $letter++; $counter++; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 11
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 4
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 13, Position 2 = 4
Branch analysis from position: 13
Branch analysis from position: 4
filename:       /in/M5sFW
function name:  (null)
number of ops:  14
compiled vars:  !0 = $letter, !1 = $counter, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 'a'
    4     1        ASSIGN                                                   !1, 0
    6     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->11
    7     4    >   CONCAT                                           ~6      !0, '+'
          5        CONCAT                                           ~7      ~6, !1
          6        CONCAT                                           ~8      ~7, '%0D%0A'
          7        ECHO                                                     ~8
    8     8        PRE_INC                                                  !0
    9     9        PRE_INC                                                  !1
    6    10        PRE_INC                                                  !2
         11    >   IS_SMALLER                                               !2, 100
         12      > JMPNZ                                                    ~12, ->4
   11    13    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.18 ms | 1393 KiB | 13 Q