3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = []; $a[5]; $a[5] ?? null; $b = $c; $b = $d ?? null;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UAduM
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        FETCH_DIM_R                                      ~5      !0, 5
          2        FREE                                                     ~5
    5     3        FETCH_DIM_IS                                     ~6      !0, 5
          4        COALESCE                                         ~7      ~6
          5        QM_ASSIGN                                        ~7      null
          6        FREE                                                     ~7
    6     7        ASSIGN                                                   !1, !2
    7     8        COALESCE                                         ~9      !3
          9        QM_ASSIGN                                        ~9      null
         10        ASSIGN                                                   !1, ~9
    8    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
135.79 ms | 993 KiB | 13 Q