3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = []; $d = &$a; for ($i = 0; $i < 10; $i++) { $d = &$d[]; } $d = 42; var_dump($a);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 7
Branch analysis from position: 7
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 4
Branch analysis from position: 9
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 4
2 jumps found. (Code = 44) Position 1 = 9, Position 2 = 4
Branch analysis from position: 9
Branch analysis from position: 4
filename:       /in/ZEOjH
function name:  (null)
number of ops:  14
compiled vars:  !0 = $a, !1 = $d, !2 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN_REF                                               !1, !0
    7     2        ASSIGN                                                   !2, 0
          3      > JMP                                                      ->7
    9     4    >   FETCH_DIM_W                                      $6      !1
          5        ASSIGN_REF                                               !1, $6
    7     6        PRE_INC                                                  !2
          7    >   IS_SMALLER                                               !2, 10
          8      > JMPNZ                                                    ~9, ->4
   11     9    >   ASSIGN                                                   !1, 42
   13    10        INIT_FCALL                                               'var_dump'
         11        SEND_VAR                                                 !0
         12        DO_ICALL                                                 
         13      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.86 ms | 997 KiB | 14 Q