3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x=$y=''; for($i=0;true;++$i) { echo $i.PHP_EOL; $x .= '['; $y .= ']'; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 4
Branch analysis from position: 10
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 10, Position 2 = 4
Branch analysis from position: 10
Branch analysis from position: 4
filename:       /in/e2O1E
function name:  (null)
number of ops:  11
compiled vars:  !0 = $x, !1 = $y, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                           ~3      !1, ''
          1        ASSIGN                                                   !0, ~3
    3     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->9
    4     4    >   CONCAT                                           ~6      !2, '%0A'
          5        ECHO                                                     ~6
    5     6        ASSIGN_OP                                     8          !0, '%5B'
          7        ASSIGN_OP                                     8          !1, '%5D'
    3     8        PRE_INC                                                  !2
          9    > > JMPNZ                                                    <true>, ->4
    6    10    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.47 ms | 1393 KiB | 13 Q