3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array(10); $v =& $a[0]; echo $a[0] * ($a[0] = 5);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/frrh0
function name:  (null)
number of ops:  9
compiled vars:  !0 = $a, !1 = $v
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        FETCH_DIM_W                                      $3      !0, 0
          2        ASSIGN_REF                                               !1, $3
    4     3        FETCH_DIM_R                                      ~5      !0, 0
          4        ASSIGN_DIM                                       ~6      !0, 0
          5        OP_DATA                                                  5
          6        MUL                                              ~7      ~5, ~6
          7        ECHO                                                     ~7
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
175.65 ms | 1392 KiB | 13 Q