3v4l.org

run code in 300+ PHP versions simultaneously
<?php $i =0; while(true) { $a = &$a[]; $i++; if ($i % 100000==0) echo $i,' '; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 10
Branch analysis from position: 10
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 2
2 jumps found. (Code = 43) Position 1 = 8, Position 2 = 10
Branch analysis from position: 8
2 jumps found. (Code = 44) Position 1 = 11, Position 2 = 2
Branch analysis from position: 11
Branch analysis from position: 2
Branch analysis from position: 10
filename:       /in/vXkOZ
function name:  (null)
number of ops:  12
compiled vars:  !0 = $i, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 0
    3     1      > JMP                                                      ->10
    4     2    >   FETCH_DIM_W                                      $3      !1
          3        ASSIGN_REF                                               !1, $3
    5     4        PRE_INC                                                  !0
    6     5        MOD                                              ~6      !0, 100000
          6        IS_EQUAL                                                 ~6, 0
          7      > JMPZ                                                     ~7, ->10
          8    >   ECHO                                                     !0
          9        ECHO                                                     '+'
    3    10    > > JMPNZ                                                    <true>, ->2
    7    11    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.85 ms | 1384 KiB | 13 Q