3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.85 ms | 1395 KiB | 15 Q